2004-06-06 18:24:16

by John Cherry

[permalink] [raw]
Subject: IA32 (2.6.7-rc2 - 2004-06-05.22.30) - 1 New warnings (gcc 3.2.2)

drivers/char/synclink.c:4559: warning: control reaches end of non-void function


2004-06-06 21:57:30

by Dave Jones

[permalink] [raw]
Subject: Re: IA32 (2.6.7-rc2 - 2004-06-05.22.30) - 1 New warnings (gcc 3.2.2)

On Sun, Jun 06, 2004 at 11:23:37AM -0700, John Cherry wrote:
> drivers/char/synclink.c:4559: warning: control reaches end of non-void function

Signed-off-by: Dave Jones <[email protected]>

Dave


--- bk-linus/drivers/char/synclink.c~ 2004-06-06 22:55:06.568867456 +0100
+++ bk-linus/drivers/char/synclink.c 2004-06-06 22:55:16.420369800 +0100
@@ -4525,7 +4525,7 @@

/* enumerate user specified ISA adapters
*/
-static int mgsl_enum_isa_devices(void)
+static void mgsl_enum_isa_devices(void)
{
struct mgsl_struct *info;
int i;