lkml.org 
[lkml]   [2014]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] smc91x: fix compile error when SMC_DEBUG >= 2
From
From: Zi Shen Lim <zlim.lnx@gmail.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@gmail.com>

Applied, thanks.
\
 
 \ /
  Last update: 2014-04-23 04:01    [W:0.041 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site