LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Fix compile error in latest git
@ 2007-03-05 11:08 Jan Altenberg
  2007-03-05 21:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Altenberg @ 2007-03-05 11:08 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel

Hi,

I recognized a compile error in latest git:

/here/workdir/git/drivers/net/gianfar.c: In function `gfar_vlan_rx_kill_vid':
/here/workdir/git/drivers/net/gianfar.c:1135: error: structure has no member named `vgrp'

This error was introduced in commit:

commit 6d04e3b04b6ab569cabeb5ca28ad1be11777e895
Merge: 4227003... 5c15bde...
Author: Linus Torvalds <torvalds@woody.linux-foundation.org>
Date:   Sun Mar 4 13:16:49 2007 -0800

    Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
    
    * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [VLAN]: Avoid a 4-order allocation.
      [HDLC] Fix dev->header_cache_update having a random value.
      [NetLabel]: Verify sensitivity level has a valid CIPSO mapping
      [PPPOE]: Key connections properly on local device.
      [AF_UNIX]: Test against sk_max_ack_backlog properly.
      [NET]: Fix bugs in "Whether sock accept queue is full" checking

Patch is attached.

Signed-off-by: Jan Altenberg <jan@linutronix.de>

---
 drivers/net/gianfar.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/net/gianfar.c
===================================================================
--- linux-2.6.orig/drivers/net/gianfar.c
+++ linux-2.6/drivers/net/gianfar.c
@@ -1132,7 +1132,7 @@ static void gfar_vlan_rx_kill_vid(struct
 
 	spin_lock_irqsave(&priv->rxlock, flags);
 
-	vlan_group_set_device(priv->vgrp, vid, NULL);
+	vlan_group_set_device(priv->vlgrp, vid, NULL);
 
 	spin_unlock_irqrestore(&priv->rxlock, flags);
 }



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

* Re: [PATCH] Fix compile error in latest git
  2007-03-05 11:08 [PATCH] Fix compile error in latest git Jan Altenberg
@ 2007-03-05 21:30 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-03-05 21:30 UTC (permalink / raw)
  To: jan.altenberg; +Cc: linux-kernel

From: Jan Altenberg <jan.altenberg@linutronix.de>
Date: Mon, 05 Mar 2007 12:08:08 +0100

> I recognized a compile error in latest git:
> 
> /here/workdir/git/drivers/net/gianfar.c: In function `gfar_vlan_rx_kill_vid':
> /here/workdir/git/drivers/net/gianfar.c:1135: error: structure has no member named `vgrp'
 ...
> Patch is attached.
> 
> Signed-off-by: Jan Altenberg <jan@linutronix.de>

Thanks for the fix, patch applied.

I did do an allmodconfig build to try and avoid breakage like
that, but alas gianfar only is offered on certain powerpc
systems in the kernel config :-/

Thanks again.

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

end of thread, other threads:[~2007-03-05 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05 11:08 [PATCH] Fix compile error in latest git Jan Altenberg
2007-03-05 21:30 ` David Miller

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