All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/642 7474/30000] drivers/spi/spi-nxp-fspi.c:1153:5: warning: no previous declaration for 'nxp_fspi_runtime_suspend'
@ 2023-10-16 11:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-16 11:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

tree:   https://github.com/Freescale/linux-fslc pr/642
head:   c8b7cf62c7fea8456dec789d550b8006d73b8f04
commit: 2c4cf9ce2fcf9581d6625025b76ae73f77dde922 [7474/30000] MLK-23644: spi: spi-nxp-fspi: enable runtime pm for fspi
config: i386-buildonly-randconfig-001-20231016 (https://download.01.org/0day-ci/archive/20231016/202310161924.QzaLBtZG-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231016/202310161924.QzaLBtZG-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/202310161924.QzaLBtZG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-nxp-fspi.c:1153:5: warning: no previous declaration for 'nxp_fspi_runtime_suspend' [-Wmissing-declarations]
    int nxp_fspi_runtime_suspend(struct device *dev)
        ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/spi/spi-nxp-fspi.c:1162:5: warning: no previous declaration for 'nxp_fspi_runtime_resume' [-Wmissing-declarations]
    int nxp_fspi_runtime_resume(struct device *dev)
        ^~~~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for INPUT_POLLDEV
   Depends on [n]: !UML && INPUT [=n]
   Selected by [m]:
   - MXC_MMA8451 [=m] && HWMON [=m] && I2C [=y]


vim +/nxp_fspi_runtime_suspend +1153 drivers/spi/spi-nxp-fspi.c

  1151	
  1152	
> 1153	int nxp_fspi_runtime_suspend(struct device *dev)
  1154	{
  1155		struct nxp_fspi *f = dev_get_drvdata(dev);
  1156	
  1157		nxp_fspi_clk_disable_unprep(f);
  1158	
  1159		return 0;
  1160	}
  1161	
> 1162	int nxp_fspi_runtime_resume(struct device *dev)
  1163	{
  1164		struct nxp_fspi *f = dev_get_drvdata(dev);
  1165	
  1166		nxp_fspi_clk_prep_enable(f);
  1167	
  1168		if (nxp_fspi_initialized(f) && nxp_fspi_need_reinit(f))
  1169			nxp_fspi_default_setup(f);
  1170	
  1171		return 0;
  1172	}
  1173	

-- 
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:[~2023-10-16 11:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 11:08 [freescale-fslc:pr/642 7474/30000] drivers/spi/spi-nxp-fspi.c:1153:5: warning: no previous declaration for 'nxp_fspi_runtime_suspend' 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.