diff options
Diffstat (limited to 'include/linux/genl_magic_struct.h')
-rw-r--r-- | include/linux/genl_magic_struct.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/genl_magic_struct.h b/include/linux/genl_magic_struct.h index f2c7cc7831df..ddbdd0a24476 100644 --- a/include/linux/genl_magic_struct.h +++ b/include/linux/genl_magic_struct.h | |||
@@ -97,6 +97,9 @@ enum { | |||
97 | #define __u32_field(attr_nr, attr_flag, name) \ | 97 | #define __u32_field(attr_nr, attr_flag, name) \ |
98 | __field(attr_nr, attr_flag, name, NLA_U32, __u32, \ | 98 | __field(attr_nr, attr_flag, name, NLA_U32, __u32, \ |
99 | nla_get_u32, NLA_PUT_U32) | 99 | nla_get_u32, NLA_PUT_U32) |
100 | #define __s32_field(attr_nr, attr_flag, name) \ | ||
101 | __field(attr_nr, attr_flag, name, NLA_U32, __s32, \ | ||
102 | nla_get_u32, NLA_PUT_U32) | ||
100 | #define __u64_field(attr_nr, attr_flag, name) \ | 103 | #define __u64_field(attr_nr, attr_flag, name) \ |
101 | __field(attr_nr, attr_flag, name, NLA_U64, __u64, \ | 104 | __field(attr_nr, attr_flag, name, NLA_U64, __u64, \ |
102 | nla_get_u64, NLA_PUT_U64) | 105 | nla_get_u64, NLA_PUT_U64) |