[linux-next:master 3437/7611] drivers/spi/spi-tegra20-slink.c:1197:12: error: unused function 'tegra_slink_runtime_resume'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux