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)
commit14a81bf021fb428d1df484dba37bea155e8eec0f
tree2be4660d61abd7980996aad7ce64c8925d48f178
parent181d695352305cc52a49c151a1c3370376e54887
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