:::::: :::::: Manual check reason: "low confidence bisect report" :::::: Manual check reason: "low confidence static check warning: drivers/net/dsa/qca/qca8k-common.c:144:13: warning: use of uninitialized value '<unknown>' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]" ::::::
BCC: [email protected] CC: [email protected] CC: [email protected] TO: Christian Marangi <[email protected]> CC: Jakub Kicinski <[email protected]> CC: Vladimir Oltean <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 521a547ced6477c54b4b0cc206000406c221b4d6 commit: fce1ec0c4e2d03d9c62ffc615a42bdba78eb4c14 net: dsa: qca8k: move mib init function to common code date: 7 weeks ago :::::: branch date: 9 hours ago :::::: commit date: 7 weeks ago config: arm-randconfig-c002-20220917 (https://download.01.org/0day-ci/archive/20220919/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fce1ec0c4e2d03d9c62ffc615a42bdba78eb4c14 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout fce1ec0c4e2d03d9c62ffc615a42bdba78eb4c14 # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross ARCH=arm KBUILD_USERCFLAGS='-fanalyzer -Wno-error' If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <[email protected]> gcc_analyzer warnings: (new ones prefixed by >>) drivers/net/dsa/qca/qca8k-common.c: In function 'qca8k_busy_wait': >> drivers/net/dsa/qca/qca8k-common.c:144:13: warning: use of uninitialized >> value '<unknown>' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 144 | u32 val; | ^~~ 'qca8k_busy_wait': event 1 | | 144 | u32 val; | | ^~~ | | | | | (1) use of uninitialized value '<unknown>' here | vim +144 drivers/net/dsa/qca/qca8k-common.c fce1ec0c4e2d03 Christian Marangi 2022-07-27 141 fce1ec0c4e2d03 Christian Marangi 2022-07-27 142 int qca8k_busy_wait(struct qca8k_priv *priv, u32 reg, u32 mask) fce1ec0c4e2d03 Christian Marangi 2022-07-27 143 { fce1ec0c4e2d03 Christian Marangi 2022-07-27 @144 u32 val; fce1ec0c4e2d03 Christian Marangi 2022-07-27 145 fce1ec0c4e2d03 Christian Marangi 2022-07-27 146 return regmap_read_poll_timeout(priv->regmap, reg, val, !(val & mask), 0, fce1ec0c4e2d03 Christian Marangi 2022-07-27 147 QCA8K_BUSY_WAIT_TIMEOUT * USEC_PER_MSEC); fce1ec0c4e2d03 Christian Marangi 2022-07-27 148 } fce1ec0c4e2d03 Christian Marangi 2022-07-27 149 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
