* [PATCH] net: make netpoll_rx return bool for !CONFIG_NETPOLL
@ 2010-08-10 19:44 John W. Linville
2010-08-10 23:24 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: John W. Linville @ 2010-08-10 19:44 UTC (permalink / raw)
To: netdev; +Cc: davem, John W. Linville
"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>
---
include/linux/netpoll.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index 413742c..791d510 100644
--- 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;
}
--
1.7.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: make netpoll_rx return bool for !CONFIG_NETPOLL
2010-08-10 19:44 [PATCH] net: make netpoll_rx return bool for !CONFIG_NETPOLL John W. Linville
@ 2010-08-10 23:24 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-08-10 23:24 UTC (permalink / raw)
To: linville; +Cc: netdev
From: "John W. Linville" <linville@tuxdriver.com>
Date: Tue, 10 Aug 2010 15:44:47 -0400
> "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>
Applied, thanks John.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-10 23:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-10 19:44 [PATCH] net: make netpoll_rx return bool for !CONFIG_NETPOLL John W. Linville
2010-08-10 23:24 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).