Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: Use correct type for userspace exported structs

It should be __u8 instead of u8.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

+3 -3
+3 -3
include/net/bluetooth/mgmt.h
··· 163 163 164 164 struct mgmt_link_key_info { 165 165 struct mgmt_addr_info addr; 166 - u8 type; 167 - u8 val[16]; 168 - u8 pin_len; 166 + __u8 type; 167 + __u8 val[16]; 168 + __u8 pin_len; 169 169 } __packed; 170 170 171 171 #define MGMT_OP_LOAD_LINK_KEYS 0x0012