From: David S. Miller Date: Fri, 22 May 2009 06:30:09 +0000 (-0700) Subject: net: Fix arg to trace_napi_poll() in netpoll. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7d18f114897ff4358419b14d551e704a4299a440;p=openwrt%2Fstaging%2Fblogic.git net: Fix arg to trace_napi_poll() in netpoll. Reproted by Stephen Rothwell. Signed-off-by: David S. Miller --- diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 00b14e2c50ed..67b4f3e3d4a5 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -138,7 +138,7 @@ static int poll_one_napi(struct netpoll_info *npinfo, set_bit(NAPI_STATE_NPSVC, &napi->state); work = napi->poll(napi, budget); - trace_napi_poll(napi->dev); + trace_napi_poll(napi); clear_bit(NAPI_STATE_NPSVC, &napi->state); atomic_dec(&trapped);