linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio: add missing include to virtio_net.h
@ 2009-04-28 15:46 Grant Likely
  2009-04-30  0:49 ` David Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Grant Likely @ 2009-04-28 15:46 UTC (permalink / raw)
  To: linux-kernel, Rusty Russell

From: Grant Likely <grant.likely@secretlab.ca>

virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
Discovered when hacking on virtio-over-pci patches.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

 include/linux/virtio_net.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
index 242348b..cec79ad 100644
--- a/include/linux/virtio_net.h
+++ b/include/linux/virtio_net.h
@@ -4,6 +4,7 @@
  * compatible drivers/servers. */
 #include <linux/types.h>
 #include <linux/virtio_config.h>
+#include <linux/if_ether.h>
 
 /* The ID for virtio_net */
 #define VIRTIO_ID_NET	1


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

* Re: [PATCH] virtio: add missing include to virtio_net.h
  2009-04-28 15:46 [PATCH] virtio: add missing include to virtio_net.h Grant Likely
@ 2009-04-30  0:49 ` David Miller
  2009-04-30  1:20   ` Grant Likely
  2009-05-01 22:34 ` David Miller
  2009-05-05  4:24 ` Rusty Russell
  2 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2009-04-30  0:49 UTC (permalink / raw)
  To: grant.likely; +Cc: linux-kernel, netdev, rusty

From: Grant Likely <grant.likely@secretlab.ca>
Date: Tue, 28 Apr 2009 09:46:54 -0600

[ Grant, please CC: netdev on networking patches, thanks. ]

> virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
> Discovered when hacking on virtio-over-pci patches.
> 
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

Rusty, ACK?

I haven't been able to get responses from Rusty on virtio net
patches, so if he doesn't start responding soon I'm going to
integrates the fixes I've seen lately as they all look
reasonable to me.

> ---
> 
>  include/linux/virtio_net.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
> index 242348b..cec79ad 100644
> --- a/include/linux/virtio_net.h
> +++ b/include/linux/virtio_net.h
> @@ -4,6 +4,7 @@
>   * compatible drivers/servers. */
>  #include <linux/types.h>
>  #include <linux/virtio_config.h>
> +#include <linux/if_ether.h>
>  
>  /* The ID for virtio_net */
>  #define VIRTIO_ID_NET	1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH] virtio: add missing include to virtio_net.h
  2009-04-30  0:49 ` David Miller
@ 2009-04-30  1:20   ` Grant Likely
  0 siblings, 0 replies; 6+ messages in thread
From: Grant Likely @ 2009-04-30  1:20 UTC (permalink / raw)
  To: David Miller; +Cc: linux-kernel, netdev, rusty

On Wed, Apr 29, 2009 at 6:49 PM, David Miller <davem@davemloft.net> wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
> Date: Tue, 28 Apr 2009 09:46:54 -0600
>
> [ Grant, please CC: netdev on networking patches, thanks. ]

Oops, sorry about that; I had in my head "virtio" and it didn't even
occur to me that it was also netdev.  :-)

g.

>
>> virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
>> Discovered when hacking on virtio-over-pci patches.
>>
>> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
>
> Rusty, ACK?
>
> I haven't been able to get responses from Rusty on virtio net
> patches, so if he doesn't start responding soon I'm going to
> integrates the fixes I've seen lately as they all look
> reasonable to me.
>
>> ---
>>
>>  include/linux/virtio_net.h |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>>
>> diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
>> index 242348b..cec79ad 100644
>> --- a/include/linux/virtio_net.h
>> +++ b/include/linux/virtio_net.h
>> @@ -4,6 +4,7 @@
>>   * compatible drivers/servers. */
>>  #include <linux/types.h>
>>  #include <linux/virtio_config.h>
>> +#include <linux/if_ether.h>
>>
>>  /* The ID for virtio_net */
>>  #define VIRTIO_ID_NET        1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

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

* Re: [PATCH] virtio: add missing include to virtio_net.h
  2009-04-28 15:46 [PATCH] virtio: add missing include to virtio_net.h Grant Likely
  2009-04-30  0:49 ` David Miller
@ 2009-05-01 22:34 ` David Miller
  2009-05-05  4:24 ` Rusty Russell
  2 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2009-05-01 22:34 UTC (permalink / raw)
  To: grant.likely; +Cc: linux-kernel, netdev, rusty

From: Grant Likely <grant.likely@secretlab.ca>
Date: Tue, 28 Apr 2009 09:46:54 -0600

> virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
> Discovered when hacking on virtio-over-pci patches.
> 
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

Applied, thanks.

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

* Re: [PATCH] virtio: add missing include to virtio_net.h
  2009-04-28 15:46 [PATCH] virtio: add missing include to virtio_net.h Grant Likely
  2009-04-30  0:49 ` David Miller
  2009-05-01 22:34 ` David Miller
@ 2009-05-05  4:24 ` Rusty Russell
  2009-05-05  4:27   ` David Miller
  2 siblings, 1 reply; 6+ messages in thread
From: Rusty Russell @ 2009-05-05  4:24 UTC (permalink / raw)
  To: Grant Likely; +Cc: linux-kernel

On Wed, 29 Apr 2009 01:16:54 am Grant Likely wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
>
> virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
> Discovered when hacking on virtio-over-pci patches.

Thanks, I've applied this.

Rusty.

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

* Re: [PATCH] virtio: add missing include to virtio_net.h
  2009-05-05  4:24 ` Rusty Russell
@ 2009-05-05  4:27   ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2009-05-05  4:27 UTC (permalink / raw)
  To: rusty; +Cc: grant.likely, linux-kernel

From: Rusty Russell <rusty@rustcorp.com.au>
Date: Tue, 5 May 2009 13:54:22 +0930

> On Wed, 29 Apr 2009 01:16:54 am Grant Likely wrote:
>> From: Grant Likely <grant.likely@secretlab.ca>
>>
>> virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
>> Discovered when hacking on virtio-over-pci patches.
> 
> Thanks, I've applied this.

Rusty, all of this is in net-2.6 already.

Thanks for paying attention! :-)

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

end of thread, other threads:[~2009-05-05  4:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28 15:46 [PATCH] virtio: add missing include to virtio_net.h Grant Likely
2009-04-30  0:49 ` David Miller
2009-04-30  1:20   ` Grant Likely
2009-05-01 22:34 ` David Miller
2009-05-05  4:24 ` Rusty Russell
2009-05-05  4:27   ` 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).