tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 51dba6e335ff9d1f6f50b5cacced8598956e1437
commit: f433e8aac6b94218394c6e7b80bb89e4e79c9549 [8693/9489] mmc: sdhci-omap: Implement
PM runtime functions
config: riscv-randconfig-r042-20211020 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
9660563950aaed54020bfdf0be07e7096a9553e4)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
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 f433e8aac6b94218394c6e7b80bb89e4e79c9549
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=riscv SHELL=/bin/bash drivers/mmc/host/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/mmc/host/sdhci-omap.c:1450:21: error: use of undeclared identifier
'sdhci_omap_runtime_suspend'; did you mean '__pm_runtime_suspend'?
SET_RUNTIME_PM_OPS(sdhci_omap_runtime_suspend,
^~~~~~~~~~~~~~~~~~~~~~~~~~
__pm_runtime_suspend
Hmm so seems like these should not be in the CONFIG_PM_SLEEP. Probably
best to just use __maybe_unused here instead, I'll send a patch doing
that if no objections.
Regards,
Tony