Bluetooth: use flexible-array member instead of zero-length array
authorQiheng Lin <linqiheng@huawei.com>
Sat, 10 Apr 2021 02:19:35 +0000 (10:19 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:23 +0000 (07:12 +0200)
commit07d85dbe411a1194eef5b70f1a5d070ee1e226a5
tree5980a60ae2e99ac8b418ed8655cdf906f229dddd
parentc469c9c9733cc92bef6d4bf2c0f5bea0550abf4d
Bluetooth: use flexible-array member instead of zero-length array

Fix the following coccicheck warning:

net/bluetooth/msft.c:37:6-13: WARNING use flexible-array member instead
net/bluetooth/msft.c:42:6-10: WARNING use flexible-array member instead
net/bluetooth/msft.c:52:6-10: WARNING use flexible-array member instead

Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/msft.c