netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net headers: cleanup dcbnl.h
@ 2009-02-27 20:01 Chris Leech
  2009-02-27 20:01 ` [PATCH 2/2] net headers: export dcbnl.h Chris Leech
  2009-02-27 21:13 ` [PATCH 1/2] net headers: cleanup dcbnl.h Sam Ravnborg
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Leech @ 2009-02-27 20:01 UTC (permalink / raw)
  To: linux-kernel, netdev

1) add an include for <linux/types.h>
2) change dcbmsg.dcb_family from unsigned char to __u8 to be more
   consistent with use of kernel types

Signed-off-by: Chris Leech <christopher.leech@intel.com>
---

 include/linux/dcbnl.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h
index b0ef274..7d2e100 100644
--- a/include/linux/dcbnl.h
+++ b/include/linux/dcbnl.h
@@ -20,10 +20,12 @@
 #ifndef __LINUX_DCBNL_H__
 #define __LINUX_DCBNL_H__
 
+#include <linux/types.h>
+
 #define DCB_PROTO_VERSION 1
 
 struct dcbmsg {
-	unsigned char      dcb_family;
+	__u8               dcb_family;
 	__u8               cmd;
 	__u16              dcb_pad;
 };


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

* [PATCH 2/2] net headers: export dcbnl.h
  2009-02-27 20:01 [PATCH 1/2] net headers: cleanup dcbnl.h Chris Leech
@ 2009-02-27 20:01 ` Chris Leech
  2009-03-01  8:20   ` David Miller
  2009-02-27 21:13 ` [PATCH 1/2] net headers: cleanup dcbnl.h Sam Ravnborg
  1 sibling, 1 reply; 5+ messages in thread
From: Chris Leech @ 2009-02-27 20:01 UTC (permalink / raw)
  To: linux-kernel, netdev

The DCB netlink interface is required for building the userspace tools
available at e1000.sourceforge.net

Signed-off-by: Chris Leech <christopher.leech@intel.com>
---

 include/linux/Kbuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index b97cdc5..106c3ba 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -52,6 +52,7 @@ header-y += const.h
 header-y += cgroupstats.h
 header-y += cramfs_fs.h
 header-y += cycx_cfm.h
+header-y += dcbnl.h
 header-y += dlmconstants.h
 header-y += dlm_device.h
 header-y += dlm_netlink.h


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

* Re: [PATCH 1/2] net headers: cleanup dcbnl.h
  2009-02-27 20:01 [PATCH 1/2] net headers: cleanup dcbnl.h Chris Leech
  2009-02-27 20:01 ` [PATCH 2/2] net headers: export dcbnl.h Chris Leech
@ 2009-02-27 21:13 ` Sam Ravnborg
  2009-03-01  8:20   ` David Miller
  1 sibling, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2009-02-27 21:13 UTC (permalink / raw)
  To: Chris Leech; +Cc: linux-kernel, netdev

On Fri, Feb 27, 2009 at 12:01:36PM -0800, Chris Leech wrote:
> 1) add an include for <linux/types.h>
> 2) change dcbmsg.dcb_family from unsigned char to __u8 to be more
>    consistent with use of kernel types
> 
> Signed-off-by: Chris Leech <christopher.leech@intel.com>
Thanks Chris.

Acked-by: Sam Ravnborg <sam@ravnborg.org>

	Sam

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

* Re: [PATCH 1/2] net headers: cleanup dcbnl.h
  2009-02-27 21:13 ` [PATCH 1/2] net headers: cleanup dcbnl.h Sam Ravnborg
@ 2009-03-01  8:20   ` David Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-03-01  8:20 UTC (permalink / raw)
  To: sam; +Cc: christopher.leech, linux-kernel, netdev

From: Sam Ravnborg <sam@ravnborg.org>
Date: Fri, 27 Feb 2009 22:13:05 +0100

> On Fri, Feb 27, 2009 at 12:01:36PM -0800, Chris Leech wrote:
> > 1) add an include for <linux/types.h>
> > 2) change dcbmsg.dcb_family from unsigned char to __u8 to be more
> >    consistent with use of kernel types
> > 
> > Signed-off-by: Chris Leech <christopher.leech@intel.com>
> Thanks Chris.
> 
> Acked-by: Sam Ravnborg <sam@ravnborg.org>

Applied.

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

* Re: [PATCH 2/2] net headers: export dcbnl.h
  2009-02-27 20:01 ` [PATCH 2/2] net headers: export dcbnl.h Chris Leech
@ 2009-03-01  8:20   ` David Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-03-01  8:20 UTC (permalink / raw)
  To: christopher.leech; +Cc: linux-kernel, netdev

From: Chris Leech <christopher.leech@intel.com>
Date: Fri, 27 Feb 2009 12:01:42 -0800

> The DCB netlink interface is required for building the userspace tools
> available at e1000.sourceforge.net
> 
> Signed-off-by: Chris Leech <christopher.leech@intel.com>

Also applied, thanks.

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

end of thread, other threads:[~2009-03-01  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27 20:01 [PATCH 1/2] net headers: cleanup dcbnl.h Chris Leech
2009-02-27 20:01 ` [PATCH 2/2] net headers: export dcbnl.h Chris Leech
2009-03-01  8:20   ` David Miller
2009-02-27 21:13 ` [PATCH 1/2] net headers: cleanup dcbnl.h Sam Ravnborg
2009-03-01  8:20   ` 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).