]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: acpi: better use ARRAY_SIZE than a define
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 19 Mar 2026 09:09:16 +0000 (11:09 +0200)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 25 Mar 2026 09:31:55 +0000 (11:31 +0200)
commit64b992ebf1e8be3dc89611357522d09fcaba5387
tree122316622dbae0fee6e2aac2594c8e032c6f8019
parent5971e08b1324a9a9f3d530ce6dda4982401a6120
wifi: iwlwifi: acpi: better use ARRAY_SIZE than a define

Since we'll have to change things in this area, use the safer option to
define the size of an array.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260319110722.1acfc3b6f2b8.I2185e7850146e15628f8ec2c579d93f536c83d83@changeid
drivers/net/wireless/intel/iwlwifi/fw/acpi.c