struct bnep_set_filter_req {
__u8 type;
__u8 ctrl;
- __u16 len;
+ __be16 len;
__u8 list[0];
} __attribute__((packed));
struct bnep_control_rsp {
__u8 type;
__u8 ctrl;
- __u16 resp;
+ __be16 resp;
} __attribute__((packed));
struct bnep_ext_hdr {
struct bnep_connlist_req {
__u32 cnum;
- struct bnep_conninfo *ci;
+ struct bnep_conninfo __user *ci;
};
struct bnep_proto_filter {