summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/hci_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/hci_sock.h')
-rw-r--r--include/net/bluetooth/hci_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_sock.h b/include/net/bluetooth/hci_sock.h
index 9949870f7d78..13e8cd4414a1 100644
--- a/include/net/bluetooth/hci_sock.h
+++ b/include/net/bluetooth/hci_sock.h
@@ -144,7 +144,7 @@ struct hci_dev_req {
struct hci_dev_list_req {
__u16 dev_num;
- struct hci_dev_req dev_req[]; /* hci_dev_req structures */
+ struct hci_dev_req dev_req[] __counted_by(dev_num);
};
struct hci_conn_list_req {