oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [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
@ 2024-02-22  8:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-22  8:01 UTC (permalink / raw)
  To: Théo Lebrun; +Cc: oe-kbuild-all, Mark Brown

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

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

only message in thread, other threads:[~2024-02-22  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22  8:01 [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 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).