Re: blackfin drivers/net/smc91x.c build error

Previous thread: serial/bfin_5xx.c build error by Adrian Bunk on Friday, June 6, 2008 - 9:22 am. (5 messages)

Next thread: Linux 2.4.36.6 by Willy Tarreau on Friday, June 6, 2008 - 9:32 am. (3 messages)
From: Adrian Bunk
Date: Friday, June 6, 2008 - 9:22 am

drivers/net/smc91x.c fails as follows on blackfin:

<--  snip  -->

...
  CC      drivers/net/smc91x.o
...
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/smc91x.c:1863:36: error: macro "SMC_GET_MAC_ADDR" passed 2 arguments, but takes just 1
...
make[3]: *** [drivers/net/smc91x.o] Error 1

<--  snip  -->

The required action seems to be a revert of:
commit 099c736a470c8080a166e7a089f1e48e15f9947c
(Revert "smc91x: fix build breakage from the SMC_GET_MAC_ADDR API upgrade") (sic).

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

From: Mike Frysinger
Date: Friday, June 6, 2008 - 12:52 pm

it's a known issue (been known for quite a long time actually).  Bryan
has brought this up in the past already.
-mike
--

From: Adrian Bunk
Date: Tuesday, June 10, 2008 - 6:53 am

Is my suggestion of reverting commit 099c736a470c8080a166e7a089f1e48e15f9947c
correct or how else should it be resolved?

This issue is the only remaining problem preventing that all blackfin 

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

From: Mike Frysinger
Date: Tuesday, June 10, 2008 - 10:13 am

Bryan is taking care of it ... it may just stay broken in favor of

not really true.  but otherwise, failures dont go unnoticed as we have
automated nightly builds for all the relevant trees.
-mike
--

From: Adrian Bunk
Date: Tuesday, June 10, 2008 - 10:34 am

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

From: Bryan Wu
Date: Tuesday, June 10, 2008 - 8:37 pm

Sorry for jumping in later. I reported this issue 2 months ago.
http://lkml.org/lkml/2008/4/7/38

And Adrian is right, we need to revert this patch.

Linus, could you please revert it?
099c736a470c8080a166e7a089f1e48e15f9947c
Or I send a patch out to revert it?

Thanks
-Bryan
--

From: Bryan Wu
Date: Tuesday, June 10, 2008 - 8:43 pm

Oh, sorry for the confusing. we need to recommit the patch to fix this
build breakage.
9e6db60825ef7e7999abc610ce256ba768e58162
"smc91x: fix build breakage from the SMC_GET_MAC_ADDR API upgrade"

Jeff, do you have my this patch in your tree or just we revert the
099c736a470c8080a166e7a089f1e48e15f9947c?

Thanks
-Bryan
--

From: Linus Torvalds
Date: Tuesday, June 10, 2008 - 8:47 pm

I'd like to see a patch, since by now I'm confused by this all whether 
it's a straight revert or if there's a fix.

			Linus
--

From: Bryan Wu
Date: Tuesday, June 10, 2008 - 8:55 pm

On Wed, Jun 11, 2008 at 11:47 AM, Linus Torvalds

No problem, I will send a patch soon.

-Bryan
--

Previous thread: serial/bfin_5xx.c build error by Adrian Bunk on Friday, June 6, 2008 - 9:22 am. (5 messages)

Next thread: Linux 2.4.36.6 by Willy Tarreau on Friday, June 6, 2008 - 9:32 am. (3 messages)