Re: 2.6.18-rc1-mm1: drivers/ide/pci/jmicron.c warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 11, 2006 at 02:52:58PM +0200, Adrian Bunk wrote:
>   CC      drivers/ide/pci/jmicron.o
> drivers/ide/pci/jmicron.c: In function ???ata66_jmicron???:
> drivers/ide/pci/jmicron.c:99: warning: control reaches end of non-void function

If your gcc does this please file a gcc bug report

> At least from gcc's perspective, this warning is correct, and it should 
> therefore be fixed.

No. port_type is an enum. Each enum value in question is present in the 
switch (and gcc knows this), each has a return. Your compiler is buggy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux