oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Théo Lebrun" <theo.lebrun@bootlin.com>
Cc: oe-kbuild-all@lists.linux.dev, Mark Brown <broonie@kernel.org>
Subject: [broonie-ci:v3_20240209_theo_lebrun_spi_cadence_qspi_fix_runtime_pm_and_system_wide_suspend 22/22] drivers/spi/spi-cadence-quadspi.c:1959:12: warning: 'cqspi_resume' defined but not used
Date: Thu, 22 Feb 2024 16:01:45 +0800	[thread overview]
Message-ID: <202402221505.712Q7MSU-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git v3_20240209_theo_lebrun_spi_cadence_qspi_fix_runtime_pm_and_system_wide_suspend
head:   e3fe8a31f21eda14322be3d4a16c9f3293ffd6ad
commit: e3fe8a31f21eda14322be3d4a16c9f3293ffd6ad [22/22] spi: cadence-qspi: add system-wide suspend and resume callbacks
config: arc-randconfig-002-20240222 (https://download.01.org/0day-ci/archive/20240222/202402221505.712Q7MSU-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240222/202402221505.712Q7MSU-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402221505.712Q7MSU-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-cadence-quadspi.c:1959:12: warning: 'cqspi_resume' defined but not used [-Wunused-function]
    1959 | static int cqspi_resume(struct device *dev)
         |            ^~~~~~~~~~~~
>> drivers/spi/spi-cadence-quadspi.c:1952:12: warning: 'cqspi_suspend' defined but not used [-Wunused-function]
    1952 | static int cqspi_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~


vim +/cqspi_resume +1959 drivers/spi/spi-cadence-quadspi.c

  1951	
> 1952	static int cqspi_suspend(struct device *dev)
  1953	{
  1954		struct cqspi_st *cqspi = dev_get_drvdata(dev);
  1955	
  1956		return spi_controller_suspend(cqspi->host);
  1957	}
  1958	
> 1959	static int cqspi_resume(struct device *dev)
  1960	{
  1961		struct cqspi_st *cqspi = dev_get_drvdata(dev);
  1962	
  1963		return spi_controller_resume(cqspi->host);
  1964	}
  1965	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-02-22  8: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=202402221505.712Q7MSU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=theo.lebrun@bootlin.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).