Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: khali@linux-fr.org
Cc: klassert@mathematik.tu-chemnitz.de, netdev@vger.kernel.org,
	a.beregalov@gmail.com
Subject: Re: [PATCH] 3c59x: Fix build failure with gcc 3.2
Date: Mon, 03 Aug 2009 21:10:16 -0700 (PDT)	[thread overview]
Message-ID: <20090803.211016.21222287.davem@davemloft.net> (raw)
In-Reply-To: <20090803134803.3c8a0159@hyperion.delvare>

From: Jean Delvare <khali@linux-fr.org>
Date: Mon, 3 Aug 2009 13:48:03 +0200

> 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>

Applied, thanks.

           reply	other threads:[~2009-08-04  4:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20090803134803.3c8a0159@hyperion.delvare>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090803.211016.21222287.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=a.beregalov@gmail.com \
    --cc=khali@linux-fr.org \
    --cc=klassert@mathematik.tu-chemnitz.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox