Skip to contentSkip to conversation

3c59x: Fix build failure with gcc 3.2

PATCH David Miller 1 participant 1 message Aug 4, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Miller

author maintainer Applied
#1 lore raw

From: Jean Delvare <[email protected]>
Date: Mon, 3 Aug 2009 13:48:03 +0200

Quoted 9 lines

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

Quoted 3 lines

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

Applied, thanks.