All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/soc/apple/apple-pmgr-pwrstate.c:176:32: sparse: sparse: symbol 'apple_pmgr_reset_ops' was not declared. Should it be static?
@ 2022-02-21  5:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-21  5:16 UTC (permalink / raw)
  To: Hector Martin; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cfb92440ee71adcc2105b0890bb01ac3cddb8507
commit: 6df9d38f9146e83b473f0c9e57fb5fdf3fcc93e2 soc: apple: Add driver for Apple PMGR power state controls
date:   3 months ago
config: arm64-randconfig-s032-20220220 (https://download.01.org/0day-ci/archive/20220221/202202211309.mUqlMP6u-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6df9d38f9146e83b473f0c9e57fb5fdf3fcc93e2
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 6df9d38f9146e83b473f0c9e57fb5fdf3fcc93e2
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/soc/apple/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/soc/apple/apple-pmgr-pwrstate.c:176:32: sparse: sparse: symbol 'apple_pmgr_reset_ops' was not declared. Should it be static?

vim +/apple_pmgr_reset_ops +176 drivers/soc/apple/apple-pmgr-pwrstate.c

   167	
   168	static int apple_pmgr_reset_status(struct reset_controller_dev *rcdev, unsigned long id)
   169	{
   170		struct apple_pmgr_ps *ps = rcdev_to_apple_pmgr_ps(rcdev);
   171		u32 reg = 0;
   172	
   173		regmap_read(ps->regmap, ps->offset, &reg);
   174	
   175		return !!(reg & APPLE_PMGR_RESET);
 > 176	}
   177	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-21  5:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21  5:16 drivers/soc/apple/apple-pmgr-pwrstate.c:176:32: sparse: sparse: symbol 'apple_pmgr_reset_ops' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.