[linux-next:master 8710/9200] drivers/scsi/ufs/ufshcd-pci.c:459:9: error: implicit declaration of function 'ufshcd_system_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:   60e8840126bdcb60bccef74c3f962742183c681f
commit: 21431d5bdf1523301e70ec7071dcbf7effd4e988 [8710/9200] scsi: core: ufs-pci: Force a full restore after suspend-to-disk
config: i386-randconfig-r016-20211018 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d245f2e8597bfb52c34810a328d42b990e4af1a4)
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=21431d5bdf1523301e70ec7071dcbf7effd4e988
        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 21431d5bdf1523301e70ec7071dcbf7effd4e988
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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/scsi/ufs/ufshcd-pci.c:459:9: error: implicit declaration of function 'ufshcd_system_resume' [-Werror,-Wimplicit-function-declaration]
           return ufshcd_system_resume(dev);
                  ^
   drivers/scsi/ufs/ufshcd-pci.c:459:9: note: did you mean 'ufshcd_vops_resume'?
   drivers/scsi/ufs/ufshcd.h:1331:19: note: 'ufshcd_vops_resume' declared here
   static inline int ufshcd_vops_resume(struct ufs_hba *hba, enum ufs_pm_op op)
                     ^
   1 error generated.


vim +/ufshcd_system_resume +459 drivers/scsi/ufs/ufshcd-pci.c

   451	
   452	static int ufshcd_pci_restore(struct device *dev)
   453	{
   454		struct ufs_hba *hba = dev_get_drvdata(dev);
   455	
   456		/* Force a full reset and restore */
   457		ufshcd_set_link_off(hba);
   458	
 > 459		return ufshcd_system_resume(dev);
   460	}
   461	

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