linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 3437/7611] drivers/spi/spi-tegra20-slink.c:1197:12: error: unused function 'tegra_slink_runtime_resume'
@ 2021-10-12 20:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-12 20:08 UTC (permalink / raw)
  Cc: llvm, kbuild-all, Linux Memory Management List, Mark Brown

[-- Attachment #1: Type: text/plain, Size: 2959 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6d3d22efa090e7a5d3691613297aab12c6d2708a
commit: 59c4e190b10cd2d6edccb5c238a3d2bda071a018 [3437/7611] Merge tag 'v5.15-rc3' into spi-5.15
config: hexagon-buildonly-randconfig-r004-20211012 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dcf39554dbea780d6cb7e12239451ba47a2668)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=59c4e190b10cd2d6edccb5c238a3d2bda071a018
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 59c4e190b10cd2d6edccb5c238a3d2bda071a018
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/spi/spi-tegra20-slink.c:1197:12: error: unused function 'tegra_slink_runtime_resume' [-Werror,-Wunused-function]
   static int tegra_slink_runtime_resume(struct device *dev)
              ^
   1 error generated.


vim +/tegra_slink_runtime_resume +1197 drivers/spi/spi-tegra20-slink.c

dc4dc36056392c Laxman Dewangan 2012-10-30  1196  
dc4dc36056392c Laxman Dewangan 2012-10-30 @1197  static int tegra_slink_runtime_resume(struct device *dev)
dc4dc36056392c Laxman Dewangan 2012-10-30  1198  {
dc4dc36056392c Laxman Dewangan 2012-10-30  1199  	struct spi_master *master = dev_get_drvdata(dev);
dc4dc36056392c Laxman Dewangan 2012-10-30  1200  	struct tegra_slink_data *tspi = spi_master_get_devdata(master);
dc4dc36056392c Laxman Dewangan 2012-10-30  1201  	int ret;
dc4dc36056392c Laxman Dewangan 2012-10-30  1202  
dc4dc36056392c Laxman Dewangan 2012-10-30  1203  	ret = clk_prepare_enable(tspi->clk);
dc4dc36056392c Laxman Dewangan 2012-10-30  1204  	if (ret < 0) {
dc4dc36056392c Laxman Dewangan 2012-10-30  1205  		dev_err(tspi->dev, "clk_prepare failed: %d\n", ret);
dc4dc36056392c Laxman Dewangan 2012-10-30  1206  		return ret;
dc4dc36056392c Laxman Dewangan 2012-10-30  1207  	}
dc4dc36056392c Laxman Dewangan 2012-10-30  1208  	return 0;
dc4dc36056392c Laxman Dewangan 2012-10-30  1209  }
dc4dc36056392c Laxman Dewangan 2012-10-30  1210  

:::::: The code at line 1197 was first introduced by commit
:::::: dc4dc36056392c0b0b1ca9e81bebff964b9297e0 spi: tegra: add spi driver for SLINK controller

:::::: TO: Laxman Dewangan <ldewangan@nvidia.com>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36133 bytes --]

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

only message in thread, other threads:[~2021-10-12 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 20:08 [linux-next:master 3437/7611] drivers/spi/spi-tegra20-slink.c:1197:12: error: unused function 'tegra_slink_runtime_resume' 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