mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + git-net-fix-pasemi_mac.patch added to -mm tree
       [not found] <200709242233.l8OMXsL5021125@imap1.linux-foundation.org>
@ 2007-09-26  6:02 ` David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2007-09-26  6:02 UTC (permalink / raw)
  To: linux-kernel, akpm; +Cc: kamalesh

From: akpm@linux-foundation.org
Date: Mon, 24 Sep 2007 15:33:54 -0700

> Subject: git-net: fix pasemi_mac
> From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
> 
> drivers/net/pasemi_mac.c: In function ^[$,1rx^[(Bpasemi_mac_probe^[$,1ry^[(B:
> drivers/net/pasemi_mac.c:1153: error: conflicting types for ^[$,1rx^[(Bmac^[$,1ry^[(B
> drivers/net/pasemi_mac.c:1151: error: previous declaration of ^[$,1rx^[(Bmac^[$,1ry^[(B was here
> drivers/net/pasemi_mac.c:1170: error: incompatible types in assignment
> drivers/net/pasemi_mac.c:1172: error: request for member ^[$,1rx^[(Bpdev^[$,1ry^[(B in
> something not a structure or union
> 
> In the function
> static int __devinit
> pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> {
> <snip>
> struct pasemi_mac *mac;
> int err;
> DECLARE_MAC_BUF(mac);
> 
> introduction of mac as var [18] triggers the build failure, so in the below
> patch renaming mac as mac_buf is done, because it is used to print the mac
> address using the newly introduced print_mac function.
> 
> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
> Cc: "David S. Miller" <davem@davemloft.net>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Applied to net-2.6.24, thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-26  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200709242233.l8OMXsL5021125@imap1.linux-foundation.org>
2007-09-26  6:02 ` + git-net-fix-pasemi_mac.patch added to -mm tree David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®