netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ath9k build failure
       [not found] <20080811162040.ed7b8ab7.sfr@canb.auug.org.au>
@ 2008-08-11 16:46 ` Luis R. Rodriguez
  2008-08-11 18:52   ` Adrian Bunk
  2008-08-12  3:33   ` Stephen Rothwell
  0 siblings, 2 replies; 4+ messages in thread
From: Luis R. Rodriguez @ 2008-08-11 16:46 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: John W. Linville, David S. Miller, linux-next@vger.kernel.org,
	LKML, netdev@vger.kernel.org, Adrian Bunk, Luis Rodriguez,
	Sujith Manoharan

On Sun, Aug 10, 2008 at 11:20:40PM -0700, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next build (powerpc allyesconfig) failed like this:
> 
> drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_spur_mitigate':
> drivers/net/wireless/ath9k/hw.c:4925: internal compiler error: in expand_expr_real_1, at expr.c:9199
> 
> This is a driver that is in Linus' tree and has no patches in the
> linux-next tree.
> 
> The original work around talked about applying the patch twice, so I
> applied the below patch.

Stephen,

this is also in wireless-testing. I also see this in linux-2.6
under b08cbcd4546445740c2a04291204b56f8baf7be2. Not sure how this didn't
get through linux-next.

  Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k build failure
  2008-08-11 16:46 ` ath9k build failure Luis R. Rodriguez
@ 2008-08-11 18:52   ` Adrian Bunk
  2008-08-12  3:33   ` Stephen Rothwell
  1 sibling, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-08-11 18:52 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Stephen Rothwell, John W. Linville, David S. Miller,
	linux-next@vger.kernel.org, LKML, netdev@vger.kernel.org,
	Luis Rodriguez, Sujith Manoharan

On Mon, Aug 11, 2008 at 09:46:57AM -0700, Luis R. Rodriguez wrote:
> On Sun, Aug 10, 2008 at 11:20:40PM -0700, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Today's linux-next build (powerpc allyesconfig) failed like this:
> > 
> > drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_spur_mitigate':
> > drivers/net/wireless/ath9k/hw.c:4925: internal compiler error: in expand_expr_real_1, at expr.c:9199
> > 
> > This is a driver that is in Linus' tree and has no patches in the
> > linux-next tree.
> > 
> > The original work around talked about applying the patch twice, so I
> > applied the below patch.
> 
> Stephen,
> 
> this is also in wireless-testing. I also see this in linux-2.6
> under b08cbcd4546445740c2a04291204b56f8baf7be2. Not sure how this didn't
> get through linux-next.

It seems the following I said (for pointing out that having twice the 
same code is a good indication that common code should be factored out)
was too subtle a joke:

  The patch has to be applied twice for fixing both copies of the
  same code.  :-)

When I said it has to be applied twice I really meant what I said:

$ git-show b08cbcd4 | patch -p1
patching file drivers/net/wireless/ath9k/hw.c
Hunk #1 succeeded at 5017 (offset 216 lines).
$ grep 37014 drivers/net/wireless/ath9k/hw.c
                        /* workaround for gcc bug #37014 */
                        /* workaround for gcc bug #37014 */
$ 

>   Luis

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k build failure
  2008-08-11 16:46 ` ath9k build failure Luis R. Rodriguez
  2008-08-11 18:52   ` Adrian Bunk
@ 2008-08-12  3:33   ` Stephen Rothwell
  2008-08-12 13:21     ` John W. Linville
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2008-08-12  3:33 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: John W. Linville, David S. Miller, linux-next@vger.kernel.org,
	LKML, netdev@vger.kernel.org, Adrian Bunk, Luis Rodriguez,
	Sujith Manoharan

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

Hi Luis,

On Mon, 11 Aug 2008 09:46:57 -0700 "Luis R. Rodriguez" <lrodriguez@atheros.com> wrote:
>
> On Sun, Aug 10, 2008 at 11:20:40PM -0700, Stephen Rothwell wrote:
> > 
> > Today's linux-next build (powerpc allyesconfig) failed like this:
> > 
> > drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_spur_mitigate':
> > drivers/net/wireless/ath9k/hw.c:4925: internal compiler error: in expand_expr_real_1, at expr.c:9199
> > 
> > This is a driver that is in Linus' tree and has no patches in the
> > linux-next tree.
> > 
> > The original work around talked about applying the patch twice, so I
> > applied the below patch.
> 
> this is also in wireless-testing. I also see this in linux-2.6
> under b08cbcd4546445740c2a04291204b56f8baf7be2. Not sure how this didn't
> get through linux-next.

That is only the first application of the patch, my patch is a fix of a
second instance of the same code.  See Adrian's post.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k build failure
  2008-08-12  3:33   ` Stephen Rothwell
@ 2008-08-12 13:21     ` John W. Linville
  0 siblings, 0 replies; 4+ messages in thread
From: John W. Linville @ 2008-08-12 13:21 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Luis R. Rodriguez, David S. Miller, linux-next@vger.kernel.org,
	LKML, netdev@vger.kernel.org, Adrian Bunk, Luis Rodriguez,
	Sujith Manoharan

On Tue, Aug 12, 2008 at 01:33:54PM +1000, Stephen Rothwell wrote:
> Hi Luis,
> 
> On Mon, 11 Aug 2008 09:46:57 -0700 "Luis R. Rodriguez" <lrodriguez@atheros.com> wrote:
> >
> > On Sun, Aug 10, 2008 at 11:20:40PM -0700, Stephen Rothwell wrote:
> > > 
> > > Today's linux-next build (powerpc allyesconfig) failed like this:
> > > 
> > > drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_spur_mitigate':
> > > drivers/net/wireless/ath9k/hw.c:4925: internal compiler error: in expand_expr_real_1, at expr.c:9199
> > > 
> > > This is a driver that is in Linus' tree and has no patches in the
> > > linux-next tree.
> > > 
> > > The original work around talked about applying the patch twice, so I
> > > applied the below patch.
> > 
> > this is also in wireless-testing. I also see this in linux-2.6
> > under b08cbcd4546445740c2a04291204b56f8baf7be2. Not sure how this didn't
> > get through linux-next.
> 
> That is only the first application of the patch, my patch is a fix of a
> second instance of the same code.  See Adrian's post.

My bad...I'll fix it up w/ the next batch of fixes...

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-12 13:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080811162040.ed7b8ab7.sfr@canb.auug.org.au>
2008-08-11 16:46 ` ath9k build failure Luis R. Rodriguez
2008-08-11 18:52   ` Adrian Bunk
2008-08-12  3:33   ` Stephen Rothwell
2008-08-12 13:21     ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).