All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:pr/642 7474/30000] drivers/spi/spi-nxp-fspi.c:1153:5: warning: no previous declaration for 'nxp_fspi_runtime_suspend'
Date: Mon, 16 Oct 2023 19:08:51 +0800	[thread overview]
Message-ID: <202310161924.QzaLBtZG-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-10-16 11:09 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=202310161924.QzaLBtZG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=otavio@ossystems.com.br \
    /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 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.