Hi Matti, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on regulator/for-next] [also build test ERROR on next-20210211] [cannot apply to v5.11-rc7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matti-Vaittinen/Extend-regulator-notification-support/20210211-204336 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: i386-randconfig-s002-20210211 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-215-g0fb77bb6-dirty # https://github.com/0day-ci/linux/commit/260da0e9dac7ec0544df299c02d4051341506bf8 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Matti-Vaittinen/Extend-regulator-notification-support/20210211-204336 git checkout 260da0e9dac7ec0544df299c02d4051341506bf8 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/regulator/qcom_spmi-regulator.c:1346:33: error: initialization of 'int (*)(struct regulator_dev *, int, int, bool)' {aka 'int (*)(struct regulator_dev *, int, int, _Bool)'} from incompatible pointer type 'int (*)(struct regulator_dev *)' [-Werror=incompatible-pointer-types] 1346 | .set_over_current_protection = spmi_regulator_vs_ocp, | ^~~~~~~~~~~~~~~~~~~~~ drivers/regulator/qcom_spmi-regulator.c:1346:33: note: (near initialization for 'spmi_vs_ops.set_over_current_protection') cc1: some warnings being treated as errors vim +1346 drivers/regulator/qcom_spmi-regulator.c e92a4047419c80 Stephen Boyd 2015-06-12 1339 3b619e3e2d1a89 Rikard Falkeborn 2020-06-29 1340 static const struct regulator_ops spmi_vs_ops = { e92a4047419c80 Stephen Boyd 2015-06-12 1341 .enable = spmi_regulator_vs_enable, 9d4853322ffcc7 Axel Lin 2017-11-29 1342 .disable = regulator_disable_regmap, 9d4853322ffcc7 Axel Lin 2017-11-29 1343 .is_enabled = regulator_is_enabled_regmap, e92a4047419c80 Stephen Boyd 2015-06-12 1344 .set_pull_down = spmi_regulator_common_set_pull_down, e92a4047419c80 Stephen Boyd 2015-06-12 1345 .set_soft_start = spmi_regulator_common_set_soft_start, e2adfacde619d8 Stephen Boyd 2015-07-17 @1346 .set_over_current_protection = spmi_regulator_vs_ocp, 919163f6362ac2 Stephen Boyd 2016-06-25 1347 .set_mode = spmi_regulator_common_set_mode, 919163f6362ac2 Stephen Boyd 2016-06-25 1348 .get_mode = spmi_regulator_common_get_mode, e92a4047419c80 Stephen Boyd 2015-06-12 1349 }; e92a4047419c80 Stephen Boyd 2015-06-12 1350 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org