]> git.baikalelectronics.ru Git - kernel.git/commit
[NETPOLL]: wrong return for null netpoll_poll_lock()
authorBen Dooks <ben-linux@fluff.org>
Wed, 12 Oct 2005 22:12:21 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Oct 2005 22:12:21 +0000 (15:12 -0700)
commit5c4be8a6099d0f9b0011ec63cf79a0c1bbc25b3c
treeee88c284b220e60088934b77797f4433590bf90c
parent4288f6a9a90e93e5d8e4ba590880af62f1c10e36
[NETPOLL]: wrong return for null netpoll_poll_lock()

When netpoll is not being used, the macro that
defines the removed routing netpoll_poll_lock
defines the return as zero, but the real
routine returns a `void *`

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netpoll.h