drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:186 mwifiex_dnld_dt_txpwr_table() warn: '"marvell,00_txpwrlimit"' 65433600 can't fit into 255 'txpwr[0]'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
BCC: [email protected] CC: [email protected] CC: [email protected] TO: Stefan Kerkmann <[email protected]> CC: Johannes Berg <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cb8a75eec0877810b50aa1c5a833f929525cd2ee commit: 7b6f16a258065f85793fb2597a290041c1e3d201 wifi: mwifiex: add rgpower table loading support date: 12 months ago :::::: branch date: 8 hours ago :::::: commit date: 12 months ago config: i386-randconfig-141 (https://download.01.org/0day-ci/archive/20260820/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 smatch: v0.5.0-9187-g5189e3fb If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Fixes: 7b6f16a25806 ("wifi: mwifiex: add rgpower table loading support") | Reported-by: kernel test robot <[email protected]> | Reported-by: Dan Carpenter <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ smatch warnings: drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:186 mwifiex_dnld_dt_txpwr_table() warn: '"marvell,00_txpwrlimit"' 65433600 can't fit into 255 'txpwr[0]' vim +186 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c 7c6fa2a843c5ac0 drivers/net/wireless/mwifiex/sta_ioctl.c Amitkumar Karwar 2011-08-10 182 7b6f16a258065f8 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c Stefan Kerkmann 2025-08-04 183 static void mwifiex_dnld_dt_txpwr_table(struct mwifiex_private *priv) b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 184 { b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 185 if (priv->adapter->dt_node) { b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 @186 char txpwr[] = {"marvell,00_txpwrlimit"}; b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 187 b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 188 memcpy(&txpwr[8], priv->adapter->country_code, 2); b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 189 mwifiex_dnld_dt_cfgdata(priv, priv->adapter->dt_node, txpwr); b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 190 } b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 191 } b58df4461921dad drivers/net/wireless/mwifiex/sta_ioctl.c Bing Zhao 2014-01-08 192 :::::: The code at line 186 was first introduced by commit :::::: b58df4461921dad57707fbedee11e6f79f58b1e6 mwifiex: use a function to replace two copies of a code fragment :::::: TO: Bing Zhao <[email protected]> :::::: CC: John W. Linville <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki