Re: real_root_dev

2000-11-27 Thread Andries Brouwer
On Mon, Nov 27, 2000 at 10:27:00PM +0100, Marcus Sundberg wrote: > This reminded me of an old bug which apparently still hasn't been > fixed (not in 2.2 at least). In init/main.c we have: > > extern int rd_image_start;/* starting block # of image */ > #ifdef CONFIG_BLK_DEV_INITRD > kdev_t re

Re: real_root_dev

2000-10-21 Thread Geert Uytterhoeven
On Fri, 20 Oct 2000, Andries Brouwer wrote: > On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote: > > > > `real_root_dev' must be `int', not `kdev_t'. > > > > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR > > + if (MAJOR((kdev_t)real_root_dev) != RAMDISK_MAJOR >

Re: real_root_dev

2000-10-20 Thread Andries Brouwer
On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote: > > `real_root_dev' must be `int', not `kdev_t'. > > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR > + if (MAJOR((kdev_t)real_root_dev) != RAMDISK_MAJOR Ach, Geert, how painful to behold! Never forget: a