Commit 5c252221 authored by Chris Leech's avatar Chris Leech Committed by David S. Miller

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: default avatarChris Leech <christopher.leech@intel.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ead4431
...@@ -20,10 +20,12 @@ ...@@ -20,10 +20,12 @@
#ifndef __LINUX_DCBNL_H__ #ifndef __LINUX_DCBNL_H__
#define __LINUX_DCBNL_H__ #define __LINUX_DCBNL_H__
#include <linux/types.h>
#define DCB_PROTO_VERSION 1 #define DCB_PROTO_VERSION 1
struct dcbmsg { struct dcbmsg {
unsigned char dcb_family; __u8 dcb_family;
__u8 cmd; __u8 cmd;
__u16 dcb_pad; __u16 dcb_pad;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment