Re: 2.5.37: hd.c: `hd_gendisk' undeclared in `hd_request'

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sat Sep 28 2002 - 15:42:58 EST


On Fri, 20 Sep 2002, Eric Buddington wrote:

> With the kernel configured with 'make allmodconfig' and essentials
> set to Y (IDE disks, SCSI CDROM, keyboard), and processor set to PII,
> I get the following error from 'make bzImage':
>
> --------------------------------
> hd.c: In function `hd_request':
> hd.c:593: `hd_gendisk' undeclared (first use in this function)
> hd.c:593: (Each undeclared identifier is reported only once
> hd.c:593: for each function it appears in.)
> hd.c:594: `unit' undeclared (first use in this function)
> hd.c: At top level:
> hd.c:694: `hd_gendisk' used prior to declaration
> make[3]: *** [hd.o] Error 1
> make[3]: Leaving directory `/packages/linux/2.5.37/any/src/linux-2.5.37/drivers/ide/legacy'
> --------------------------------
>
> This is probably a config option I don't actually need, but I thought
> it worth noting.

This problem is still present in 2.5.39. It seems to be a result of Al's
gendisk changes.

> -Eric

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:38 EST