[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111101.005417.2095801593051798581.davem@davemloft.net>
Date: Tue, 01 Nov 2011 00:54:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, akpm@...gle.com, jbaron@...hat.com,
philb@....org
Subject: Re: [patch 1/1] drivers/net/ethernet/i825xx/3c505.c: fix build
with dynamic debug
From: akpm@...ux-foundation.org
Date: Mon, 31 Oct 2011 12:54:09 -0700
> From: Andrew Morton <akpm@...gle.com>
> Subject: drivers/net/ethernet/i825xx/3c505.c: fix build with dynamic debug
>
> The `#define filename' screws up the expansion of
> DEFINE_DYNAMIC_DEBUG_METADATA:
>
> drivers/net/ethernet/i825xx/3c505.c: In function 'send_pcb':
> drivers/net/ethernet/i825xx/3c505.c:390: error: expected identifier before string constant
> drivers/net/ethernet/i825xx/3c505.c:390: error: expected '}' before '.' token
> drivers/net/ethernet/i825xx/3c505.c:436: error: expected identifier before string constant
> drivers/net/ethernet/i825xx/3c505.c:435: error: expected '}' before '.' token
> drivers/net/ethernet/i825xx/3c505.c: In function 'start_receive':
> drivers/net/ethernet/i825xx/3c505.c:557: error: expected identifier before string constant
> drivers/net/ethernet/i825xx/3c505.c:557: error: expected '}' before '.' token
> drivers/net/ethernet/i825xx/3c505.c: In function 'receive_packet':
> drivers/net/ethernet/i825xx/3c505.c:629: error: expected identifier before string constant
>
> etc
>
> So remove that #define and "open-code" it.
>
> Cc: Philip Blundell <philb@....org>
> Cc: David Miller <davem@...emloft.net>
> Cc: Jason Baron <jbaron@...hat.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists