linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: kbuild-all@lists.01.org, linux-spi@vger.kernel.org,
	Mark Brown <broonie@kernel.org>
Subject: [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?
Date: Sun, 14 Aug 2022 14:14:02 +0800	[thread overview]
Message-ID: <202208141420.JZ0s0Vj6-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-08-14  6:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202208141420.JZ0s0Vj6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=narmstrong@baylibre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).