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

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