diff mbox

[1/2] net headers: cleanup dcbnl.h

Message ID 20090227200136.31557.53143.stgit@localhost.localdomain
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Chris Leech Feb. 27, 2009, 8:01 p.m. UTC
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(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Sam Ravnborg Feb. 27, 2009, 9:13 p.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller March 1, 2009, 8:20 a.m. UTC | #2
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;
 };