projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c114f4
)
net: make netpoll_rx return bool for !CONFIG_NETPOLL
author
John W. Linville
<linville@tuxdriver.com>
Tue, 10 Aug 2010 23:24:41 +0000
(16:24 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 10 Aug 2010 23:24:41 +0000
(16:24 -0700)
"netpoll: Use 'bool' for netpoll_rx() return type." missed the case when
CONFIG_NETPOLL is disabled.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netpoll.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netpoll.h
b/include/linux/netpoll.h
index 413742c92d14efce0e98743a101a67fb3e8c2f97..791d5109f34c12207de65f06cca05fa4b35b44b8 100644
(file)
--- a/
include/linux/netpoll.h
+++ b/
include/linux/netpoll.h
@@
-122,7
+122,7
@@
static inline int netpoll_tx_running(struct net_device *dev)
}
#else
-static inline
int
netpoll_rx(struct sk_buff *skb)
+static inline
bool
netpoll_rx(struct sk_buff *skb)
{
return 0;
}