From: Alain Michaud Date: Wed, 22 Jan 2020 16:09:16 +0000 (+0000) Subject: Bluetooth: adding missing const decoration to mgmt_status_table X-Git-Tag: v5.15~4637^2~12^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdf2aca703e83eeecac2b492494687d5009a694e;p=platform%2Fkernel%2Flinux-starfive.git Bluetooth: adding missing const decoration to mgmt_status_table This change simply adds a missing const decoration to the mtmt_status_table definition. Signed-off-by: Alain Michaud Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 0dc610f..3c68a36 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -176,7 +176,7 @@ static const u16 mgmt_untrusted_events[] = { "\x00\x00\x00\x00\x00\x00\x00\x00" /* HCI to MGMT error code conversion table */ -static u8 mgmt_status_table[] = { +static const u8 mgmt_status_table[] = { MGMT_STATUS_SUCCESS, MGMT_STATUS_UNKNOWN_COMMAND, /* Unknown Command */ MGMT_STATUS_NOT_CONNECTED, /* No Connection */