Hi Daniel,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on regulator/for-next]
[also build test WARNING on linux/master linus/master platform-drivers-x86/for-next
v5.14-rc7 next-20210824]
[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/Daniel-Scally/Add-regulator_look...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-s022-20210824 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
#
https://github.com/0day-ci/linux/commit/ccd472afd1dd7290ca3e48124903410b2...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Daniel-Scally/Add-regulator_lookup_list-and-API/20210825-070828
git checkout ccd472afd1dd7290ca3e48124903410b2f3edc12
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/regulator/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/regulator/core.c: note: in included file:
drivers/regulator/internal.h:54:42: sparse: sparse: restricted suspend_state_t degrades
to integer
drivers/regulator/core.c:1787:56: sparse: sparse: restricted suspend_state_t degrades
to integer
drivers/regulator/core.c:1789:56: sparse: sparse: restricted suspend_state_t degrades
to integer
drivers/regulator/core.c:449:17: sparse: sparse: restricted suspend_state_t degrades to
integer
drivers/regulator/core.c:449:25: sparse: sparse: restricted suspend_state_t degrades to
integer
drivers/regulator/core.c:463:47: sparse: sparse: restricted suspend_state_t degrades to
integer
drivers/regulator/core.c:3631:65: sparse: sparse: restricted suspend_state_t degrades
to integer
drivers/regulator/core.c:4107:47: sparse: sparse: restricted suspend_state_t degrades
to integer
drivers/regulator/core.c:4278:65: sparse: sparse: restricted suspend_state_t degrades
to integer
> drivers/regulator/core.c:5345:28: sparse: sparse: symbol
'regulator_lookup_init_data' was not declared. Should it be static?
drivers/regulator/core.c:5953:54: sparse: sparse: restricted suspend_state_t degrades to
integer
drivers/regulator/core.c:5954:54: sparse: sparse: restricted suspend_state_t degrades
to integer
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org