summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-02-24 00:33:42 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-04-10 10:24:01 -0400
commit9a9d21f780805fd6f950e930eeae437748d72793 (patch)
treee96f18ddd1a1a321f57dc7fce8b90c69da7a099b /include/linux
parent67377cd38b89ce782ccdb83bda3f65a2def843cd (diff)
Bluetooth: btintel_pcie: Use struct_size to improve hci_drv_read_info
Use struct_size(), which provides additional compile-time checks for structures with flexible array members (e.g., __must_be_array()), to determine the allocation size for a new 'struct hci_drv_rp_read_info'. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions