hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/include/net/bluetooth/hci_sock.h
....@@ -31,8 +31,8 @@
3131 #define HCI_TIME_STAMP 3
3232
3333 /* CMSG flags */
34
-#define HCI_CMSG_DIR 0x0001
35
-#define HCI_CMSG_TSTAMP 0x0002
34
+#define HCI_CMSG_DIR 0x01
35
+#define HCI_CMSG_TSTAMP 0x02
3636
3737 struct sockaddr_hci {
3838 sa_family_t hci_family;
....@@ -144,19 +144,19 @@
144144
145145 struct hci_dev_list_req {
146146 __u16 dev_num;
147
- struct hci_dev_req dev_req[0]; /* hci_dev_req structures */
147
+ struct hci_dev_req dev_req[]; /* hci_dev_req structures */
148148 };
149149
150150 struct hci_conn_list_req {
151151 __u16 dev_id;
152152 __u16 conn_num;
153
- struct hci_conn_info conn_info[0];
153
+ struct hci_conn_info conn_info[];
154154 };
155155
156156 struct hci_conn_info_req {
157157 bdaddr_t bdaddr;
158158 __u8 type;
159
- struct hci_conn_info conn_info[0];
159
+ struct hci_conn_info conn_info[];
160160 };
161161
162162 struct hci_auth_info_req {