summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-drv.c
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2023-10-12 15:41:48 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-10-23 13:25:53 +0300
commitc3745ee2e3506b75051f9d427cba24d95f75d6bf (patch)
tree3971dd4c2ba2c7348488bd46b2714e967954ee59 /drivers/net/wireless/intel/iwlwifi/iwl-drv.c
parent74a7c93f45abba538914a65dd2ef2ea7cf7150e2 (diff)
downloadlinux-c3745ee2e3506b75051f9d427cba24d95f75d6bf.tar.xz
wifi: iwlwifi: fw: increase fw_version string size
In reality 64 bytes are enough to hold fw version string, but some compilers can complain (with W=1) that output may be truncated when building this string with snprintf. Increase the size to avoid this sort of warnings and state explicitely that we want the size to be trancated to 32 bytes. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Tested-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20231012153950.f4465b4b4e2b.Idced2e8d63c492872edcde1a3ce2cdd6cc0f8eb7@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-drv.c')
0 files changed, 0 insertions, 0 deletions