]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: make array bt_uuid_any static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 14 Feb 2022 21:51:30 +0000 (21:51 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Mar 2022 15:10:50 +0000 (16:10 +0100)
commit6d8976f7f1515bf9e3a2fd74b992ee283f166ee5
treec09f99cf3b78fa3db095a05b0d935a34536a91af
parent43ab021d5536d1921dcb419151df3a9c7578fecf
Bluetooth: make array bt_uuid_any static const

Don't populate the read-only array bt_uuid_any on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c