git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb10a78
)
smsc911x: fix smsc911x_reg_read compiler warning
author
Steve Glendinning
<steve.glendinning@smsc.com>
Sun, 11 Jan 2009 08:14:27 +0000
(
00:14
-0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 11 Jan 2009 08:14:27 +0000
(
00:14
-0800)
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@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c
patch
|
blob
|
history
diff --cc
drivers/net/smsc911x.c
Simple merge