linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [broonie-spi:for-next 66/68] drivers/spi/spi-meson-spicc.c:570:22: sparse: sparse: symbol 'meson_spicc_pow2_clk_ops' was not declared. Should it be static?
@ 2022-08-14  6:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-14  6:14 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: kbuild-all, linux-spi, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
head:   c03094cbad20478afc6c6bc557de76b534448f99
commit: 09992025dacd258c823f50e82db09d7ef06cdac4 [66/68] spi: meson-spicc: add local pow2 clock ops to preserve rate between messages
config: arm64-randconfig-s053-20220812 (https://download.01.org/0day-ci/archive/20220814/202208141420.JZ0s0Vj6-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git/commit/?id=09992025dacd258c823f50e82db09d7ef06cdac4
        git remote add broonie-spi https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
        git fetch --no-tags broonie-spi for-next
        git checkout 09992025dacd258c823f50e82db09d7ef06cdac4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/spi/

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

sparse warnings: (new ones prefixed by >>)
>> drivers/spi/spi-meson-spicc.c:570:22: sparse: sparse: symbol 'meson_spicc_pow2_clk_ops' was not declared. Should it be static?

vim +/meson_spicc_pow2_clk_ops +570 drivers/spi/spi-meson-spicc.c

   569	
 > 570	const struct clk_ops meson_spicc_pow2_clk_ops = {
   571		.recalc_rate = meson_spicc_pow2_recalc_rate,
   572		.determine_rate = meson_spicc_pow2_determine_rate,
   573		.set_rate = meson_spicc_pow2_set_rate,
   574	};
   575	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-08-14  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-14  6:14 [broonie-spi:for-next 66/68] drivers/spi/spi-meson-spicc.c:570:22: sparse: sparse: symbol 'meson_spicc_pow2_clk_ops' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).