net headers: cleanup dcbnl.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, March 2, 2009 - 5:00 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c2522...
Commit:     5c2522218059ca1f4174a568923b988aad3ddfda
Parent:     4ead443163b798661c2a2ede5e512e116a9e41e7
Author:     Chris Leech <christopher.leech@intel.com>
AuthorDate: Fri Feb 27 10:01:36 2009 +0000
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Sun Mar 1 00:19:35 2009 -0800

    net headers: cleanup dcbnl.h
    
    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>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 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;
 };
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
net headers: cleanup dcbnl.h, Linux Kernel Mailing ..., (Mon Mar 2, 5:00 pm)