CC: [email protected] CC: [email protected] CC: [email protected] TO: Cristian Marussi <[email protected]> CC: Mark Brown <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fa54d366a6e4fe3e16322abdb8b5115f8be0da8b commit: e7095c35abfc5a5d566941a87434c0fd5ffb570f regulator: core: add of_match_full_name boolean flag date: 9 months ago :::::: branch date: 10 hours ago :::::: commit date: 9 months ago config: arm-randconfig-c002-20210816 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 44d0a99a12ec7ead4d2f5ef649ba05b40f6d463d) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e7095c35abfc5a5d566941a87434c0fd5ffb570f git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout e7095c35abfc5a5d566941a87434c0fd5ffb570f # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm clang-analyzer If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> clang-analyzer warnings: (new ones prefixed by >>) fc->congestion_threshold = val; ^ ~~~ fs/fuse/control.c:165:2: note: 'val' declared without an initial value unsigned val; ^~~~~~~~~~~~ fs/fuse/control.c:170:8: note: Calling 'fuse_conn_limit_write' ret = fuse_conn_limit_write(file, buf, count, ppos, &val, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/fuse/control.c:84:6: note: Assuming the condition is false if (*ppos) ^~~~~ fs/fuse/control.c:84:2: note: Taking false branch if (*ppos) ^ fs/fuse/control.c:88:6: note: Assuming 'err' is not equal to 0 if (err) ^~~ fs/fuse/control.c:88:2: note: Taking true branch if (err) ^ fs/fuse/control.c:89:3: note: Returning without writing to '*val' return err; ^ fs/fuse/control.c:170:8: note: Returning from 'fuse_conn_limit_write' ret = fuse_conn_limit_write(file, buf, count, ppos, &val, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/fuse/control.c:172:6: note: Assuming 'ret' is > 0 if (ret <= 0) ^~~~~~~~ fs/fuse/control.c:172:2: note: Taking false branch if (ret <= 0) ^ fs/fuse/control.c:174:7: note: Calling 'fuse_ctl_file_conn_get' fc = fuse_ctl_file_conn_get(file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/fuse/control.c:28:6: note: Assuming 'fc' is non-null if (fc) ^~ fs/fuse/control.c:28:2: note: Taking true branch if (fc) ^ fs/fuse/control.c:31:2: note: Returning pointer (loaded from 'fc'), which participates in a condition later return fc; ^~~~~~~~~ fs/fuse/control.c:174:7: note: Returning from 'fuse_ctl_file_conn_get' fc = fuse_ctl_file_conn_get(file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/fuse/control.c:175:6: note: Assuming 'fc' is non-null if (!fc) ^~~ fs/fuse/control.c:175:2: note: Taking false branch if (!fc) ^ fs/fuse/control.c:180:27: note: Assigned value is garbage or undefined fc->congestion_threshold = val; ^ ~~~ Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. drivers/regulator/as3722-regulator.c:46:8: warning: Excessive padding in 'struct as3722_register_mapping' (14 padding bytes, where 2 is optimal). Optimal fields order: name, sname, n_voltages, enable_reg, control_reg, sleep_ctrl_reg, regulator_id, vsel_reg, vsel_mask, enable_mask, mode_mask, sleep_ctrl_mask, consider reordering the fields or adding explicit padding members [clang-analyzer-optin.performance.Padding] struct as3722_register_mapping { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/as3722-regulator.c:46:8: note: Excessive padding in 'struct as3722_register_mapping' (14 padding bytes, where 2 is optimal). Optimal fields order: name, sname, n_voltages, enable_reg, control_reg, sleep_ctrl_reg, regulator_id, vsel_reg, vsel_mask, enable_mask, mode_mask, sleep_ctrl_mask, consider reordering the fields or adding explicit padding members struct as3722_register_mapping { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. >> drivers/regulator/bd718x7-regulator.c:531:8: warning: Excessive padding in >> 'struct bd718xx_regulator_data' (8 padding bytes, where 0 is optimal). Optimal fields order: dvs, additional_inits, additional_init_amnt, init, desc, consider reordering the fields or adding explicit padding members [clang-analyzer-optin.performance.Padding] struct bd718xx_regulator_data { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/bd718x7-regulator.c:531:8: note: Excessive padding in 'struct bd718xx_regulator_data' (8 padding bytes, where 0 is optimal). Optimal fields order: dvs, additional_inits, additional_init_amnt, init, desc, consider reordering the fields or adding explicit padding members struct bd718xx_regulator_data { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. drivers/gpu/drm/panel/panel-elida-kd35t133.c:64:17: warning: Value stored to 'dev' during its initialization is never read [clang-analyzer-deadcode.DeadStores] struct device *dev = ctx->dev; ^~~ ~~~~~~~~ drivers/gpu/drm/panel/panel-elida-kd35t133.c:64:17: note: Value stored to 'dev' during its initialization is never read struct device *dev = ctx->dev; ^~~ ~~~~~~~~ Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c:366:3: warning: Value stored to 'err' is never read [clang-analyzer-deadcode.DeadStores] err = PTR_ERR(kingdisplay->enable_gpio); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c:366:3: note: Value stored to 'err' is never read err = PTR_ERR(kingdisplay->enable_gpio); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. Suppressed 4 warnings (4 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. drivers/i2c/algos/i2c-algo-pcf.c:322:3: warning: Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores] ret = pcf_doAddress(adap, pmsg); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/i2c/algos/i2c-algo-pcf.c:322:3: note: Value stored to 'ret' is never read ret = pcf_doAddress(adap, pmsg); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ Suppressed 3 warnings (3 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 4 warnings generated. drivers/i2c/algos/i2c-algo-pca.c:195:10: warning: Although the value stored to 'state' is used in the enclosing expression, the value is never actually read from 'state' [clang-analyzer-deadcode.DeadStores] vim +531 drivers/regulator/bd718x7-regulator.c ba08799e90b593 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-05-30 525 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 526 struct reg_init { 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 527 unsigned int reg; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 528 unsigned int mask; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 529 unsigned int val; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 530 }; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 @531 struct bd718xx_regulator_data { 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 532 struct regulator_desc desc; 21b72156ede8b7 drivers/regulator/bd718x7-regulator.c Matti Vaittinen 2020-01-20 533 const struct rohm_dvs_config dvs; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 534 const struct reg_init init; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 535 const struct reg_init *additional_inits; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 536 int additional_init_amnt; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 537 }; 494edd266b945f drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 538 :::::: The code at line 531 was first introduced by commit :::::: 494edd266b945f36908184433dd36eda1719cdb0 regulator/mfd: Support ROHM BD71847 power management IC :::::: TO: Matti Vaittinen <[email protected]> :::::: CC: Mark Brown <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
