]> git.baikalelectronics.ru Git - kernel.git/commit
3c59x: Fix build failure with gcc 3.2
authorJean Delvare <khali@linux-fr.org>
Tue, 4 Aug 2009 04:10:01 +0000 (21:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2009 04:10:01 +0000 (21:10 -0700)
commit506392f4bc4061d68913c6f371f10ae56babdf50
tree308cf930e30c304bc32b00f46d7276892e8c65ca
parent76162296e77b21ffbfb2055f2f3a832da0a2443f
3c59x: Fix build failure with gcc 3.2

Fix the following build failure with gcc 3.2:

  CC [M]  drivers/net/3c59x.o
drivers/net/3c59x.c:2726:1: directives may not be used inside a macro argument
drivers/net/3c59x.c:2725:59: unterminated argument list invoking macro "pr_err"
drivers/net/3c59x.c: In function `dump_tx_ring':
drivers/net/3c59x.c:2727: implicit declaration of function `pr_err'
drivers/net/3c59x.c:2731: syntax error before ')' token

Apparently gcc 3.2 doesn't like #if interleaved with a macro call.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/3c59x.c