Message ID | 1281469487-8946-1-git-send-email-linville@tuxdriver.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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; }
"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(-)