igc: Make the const read-only array supported_sizes static
authorColin Ian King <colin.i.king@gmail.com>
Wed, 18 Jun 2025 13:54:08 +0000 (14:54 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 22:39:21 +0000 (15:39 -0700)
commitdeb21a6e5b4a53fdf109e70f88aff534ff858931
treedaee808a77c8567bbfa412061c40a14a099b8f2b
parentba28ef3ccfa909b6f24b7402a50f10653f5d1163
igc: Make the const read-only array supported_sizes static

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Vitaly Lifshits <vitaly.lifshits@intel.com>>
Link: https://patch.msgid.link/20250618135408.1784120-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/igc/igc_tsn.c