]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: replace zero-length array with flexible-array member
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 6 May 2020 07:57:48 +0000 (09:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 11 May 2020 10:13:38 +0000 (12:13 +0200)
commit240d710340c8d93bc17e8db55e09676f129bf648
tree2be4660d61abd7980996aad7ce64c8925d48f178
parenta1ae446477f620edd634737f21af7076695f8c57
Bluetooth: replace zero-length array with flexible-array member

The current codebase makes use of the zero-length array language extension
to the C90 standard, but the preferred mechanism to declare variable-length
types such as these ones is a flexible array member.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h