[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140422.212028.793102586006580743.davem@davemloft.net>
Date: Tue, 22 Apr 2014 21:20:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zlim.lnx@...il.com
Cc: nico@...xnic.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] smc91x: fix compile error when SMC_DEBUG >= 2
From: Zi Shen Lim <zlim.lnx@...il.com>
Date: Fri, 18 Apr 2014 20:47:30 -0700
> When SMC_DEBUG >= 2, we hit the following compilation error:
>
> drivers/net/ethernet/smsc/smc91x.c:85:0:
> drivers/net/ethernet/smsc/smc91x.c: In function ‘smc_findirq’:
> drivers/net/ethernet/smsc/smc91x.c:1784:9: error: ‘dev’ undeclared (first use in this function)
> DBG(2, dev, "%s: %s\n", CARDNAME, __func__);
> ^
> Fix it by passing in the appropriate netdev pointer.
>
> Signed-off-by: Zi Shen Lim <zlim.lnx@...il.com>
Applied, thanks.
Powered by blists - more mailing lists