Commit 044e1247344d7ff0dbdb1e7edd80d859a8c19aa6

Authored by Gustavo F. Padovan
1 parent c476250734

Bluetooth: Use correct type for userspace exported structs

It should be __u8 instead of u8.

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

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

include/net/bluetooth/mgmt.h
... ... @@ -163,9 +163,9 @@
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