]> www.infradead.org Git - users/willy/linux.git/commit
qlcnic: make read-only const array key static
authorColin Ian King <colin.i.king@gmail.com>
Tue, 10 Sep 2024 12:06:35 +0000 (13:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 23:00:54 +0000 (16:00 -0700)
commitaf647fe240a9c9ea5f63bb9194b971049098955e
tree7bee3faabdecb85c4fd0bf260eea32d2a1a5c305
parent9ee926213fc814d2c27fc67257ba5cc00a0ec910
qlcnic: make read-only const array key static

Don't populate the const read-only array key on the stack at
run time, instead make it static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240910120635.115266-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c