From: Gustavo F. Padovan Date: Wed, 7 Mar 2012 02:45:42 +0000 (-0300) Subject: Bluetooth: Use correct type for userspace exported structs X-Git-Tag: v3.4-rc1~177^2~112^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=044e1247344d7ff0dbdb1e7edd80d859a8c19aa6;p=karo-tx-linux.git Bluetooth: Use correct type for userspace exported structs It should be __u8 instead of u8. Signed-off-by: Gustavo F. Padovan --- diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 61953dc848a6..ffc1377e092e 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -163,9 +163,9 @@ struct mgmt_cp_remove_uuid { struct mgmt_link_key_info { struct mgmt_addr_info addr; - u8 type; - u8 val[16]; - u8 pin_len; + __u8 type; + __u8 val[16]; + __u8 pin_len; } __packed; #define MGMT_OP_LOAD_LINK_KEYS 0x0012