* [NET] 82596: Add missing parenthesis
2007-08-27 12:32 net-2.6.24 build broken (allyesconfig) Ilpo Järvinen
@ 2007-08-27 12:48 ` Thomas Graf
2007-08-27 12:52 ` net-2.6.24 build broken (allyesconfig) Johannes Berg
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Graf @ 2007-08-27 12:48 UTC (permalink / raw)
To: davem, ilpo.jarvinen; +Cc: Johannes Berg, John W. Linville, netdev
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Index: net-2.6.24/drivers/net/82596.c
===================================================================
--- net-2.6.24.orig/drivers/net/82596.c 2007-08-27 14:43:16.000000000 +0200
+++ net-2.6.24/drivers/net/82596.c 2007-08-27 14:43:51.000000000 +0200
@@ -1562,7 +1562,7 @@ static void set_multicast_list(struct ne
memcpy(cp, dmi->dmi_addr, 6);
if (i596_debug > 1)
DEB(DEB_MULTI,printk(KERN_INFO "%s: Adding address " MAC_FMT "\n",
- dev->name, MAC_ARG(cp));
+ dev->name, MAC_ARG(cp)));
}
i596_add_cmd(dev, &cmd->cmd);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: net-2.6.24 build broken (allyesconfig)
2007-08-27 12:32 net-2.6.24 build broken (allyesconfig) Ilpo Järvinen
2007-08-27 12:48 ` [NET] 82596: Add missing parenthesis Thomas Graf
@ 2007-08-27 12:52 ` Johannes Berg
1 sibling, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2007-08-27 12:52 UTC (permalink / raw)
To: Ilpo Järvinen; +Cc: John W. Linville, David S. Miller, Netdev
On Mon, 2007-08-27 at 15:32 +0300, Ilpo Järvinen wrote:
> drivers/net/82596.c:1618:1: error: unterminated argument list invoking
> macro "DEB"
> Hmm, I would guess that "[NET]: Introduce MAC_FMT/MAC_ARG" broken it,
> though didn't verify it.
>
> The fix is left as an exercise of the reader (i.e., the solution wasn't
> too obvious for me :-) )...
Yup, my fault, sorry about that.
From: Johannes Berg <johannes@sipsolutions.net>
Subject: fix MAC_FMT/MAC_ARG in 82596.c
This fixes a typo in commit f98d4ca4986fec.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
drivers/net/82596.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- netdev-2.6.orig/drivers/net/82596.c 2007-08-27 14:48:19.674646075 +0200
+++ netdev-2.6/drivers/net/82596.c 2007-08-27 14:48:21.674646075 +0200
@@ -1562,7 +1562,7 @@ static void set_multicast_list(struct ne
memcpy(cp, dmi->dmi_addr, 6);
if (i596_debug > 1)
DEB(DEB_MULTI,printk(KERN_INFO "%s: Adding address " MAC_FMT "\n",
- dev->name, MAC_ARG(cp));
+ dev->name, MAC_ARG(cp)));
}
i596_add_cmd(dev, &cmd->cmd);
}
^ permalink raw reply [flat|nested] 3+ messages in thread