Re: [PATCH] warning fix for ide.h
Marcin Dalecki (dalecki@evision.ag)
Mon, 29 Jul 2002 11:56:31 +0200
Art Haas wrote:
> Hi.
>
> I saw this when building 2.5.29 ...
>
> make[2]: Entering directory `/mnt/src/linux-2.5.29/drivers/ide'
> gcc -Wp,-MD,./.ide-cd.o.d -D__KERNEL__ -I/mnt/src/linux-2.5.29/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i586 -nostdinc -iwithprefix include -DMODULE
> -DKBUILD_BASENAME=ide_cd -c -o ide-cd.o ide-cd.c
> ide-cd.c: In function `ide_cdrom_do_request':
> ide-cd.c:1623: warning: implicit declaration of function `ide_stall_queue'
>
> Adding a prototype to ide.h removes the warning.
Please don't bother - this function is subject to go.
-
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/