net headers: cleanup dcbnl.h
Subsystems (2)
PATCH 1/2 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
---
include/linux/dcbnl.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
include/linux/dcbnl.h +3 -1
@@ -20,10 +20,12 @@#ifndef __LINUX_DCBNL_H__#define __LINUX_DCBNL_H__ +#include <linux/types.h> +#define DCB_PROTO_VERSION 1struct dcbmsg { -unsigned char dcb_family; +__u8 dcb_family;__u8 cmd;__u16 dcb_pad; };
PATCH 2/2 net headers: export dcbnl.h
The DCB netlink interface is required for building the userspace tools available at e1000.sourceforge.net
---
include/linux/Kbuild | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/Kbuild +1 -0
@@ -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
David Miller
maintainerRe: [PATCH 2/2] net headers: export dcbnl.h
From: Chris Leech <[email protected]>
Date: Fri, 27 Feb 2009 12:01:42 -0800
Quoted 4 lines
The DCB netlink interface is required for building the userspace tools available at e1000.sourceforge.net
Signed-off-by Chris Leech <[email protected]>
Also applied, thanks.
Quoted 5 lines · Chris Leech
1) add an include for <
linux/types.h>
2) change dcbmsg.dcb_family from unsigned char to__u8to be more consistent with use of kernel typesSigned-off-by Chris Leech <[email protected]>
Thanks Chris.
Sam
From: Sam Ravnborg <[email protected]>
Date: Fri, 27 Feb 2009 22:13:05 +0100
Quoted 9 lines · Chris Leech
Quoted 5 lines
1) add an include for <
linux/types.h>
2) change dcbmsg.dcb_family from unsigned char to__u8to be more consistent with use of kernel typesSigned-off-by Chris Leech <[email protected]>Thanks Chris.
Acked-by Sam Ravnborg <[email protected]>
Applied.