[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090111.001433.209033327.davem@davemloft.net>
Date: Sun, 11 Jan 2009 00:14:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: steve.glendinning@...c.com
Cc: netdev@...r.kernel.org, ian.saturley@...c.com
Subject: Re: [PATCH 1/2] smsc911x: fix smsc911x_reg_read compiler warning
From: Steve Glendinning <steve.glendinning@...c.com>
Date: Sat, 10 Jan 2009 13:29:28 +0000
> if this code path is ever hit, the platform_data struct isn't properly
> configured with a bus width flag so the device won't work (hence the
> BUG()).
>
> This patch adds a dummy return statement to eliminate this compiler
> warning:
>
> drivers/net/smsc911x.c: In function 'smsc911x_reg_read':
> drivers/net/smsc911x.c:148: warning: control reaches end of non-void function
>
> Signed-off-by: Steve Glendinning <steve.glendinning@...c.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists