Re: [PATCH 3/3] crypto: qat - enable power management for QAT GEN4

From: kernel test robot
Date: Tue Feb 08 2022 - 12:34:32 EST


Hi Wojciech,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on herbert-cryptodev-2.6/master]
[also build test ERROR on herbert-crypto-2.6/master linux/master linus/master v5.17-rc3 next-20220208]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Wojciech-Ziemba/Introduce-support-for-QAT-Dynamic-Power-Management/20220203-221431
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220209/202202090111.cyDiSbN4-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
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://github.com/0day-ci/linux/commit/00718c83e19e0fbffe30e7eb8cd58eaf4d52af34
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Wojciech-Ziemba/Introduce-support-for-QAT-Dynamic-Power-Management/20220203-221431
git checkout 00718c83e19e0fbffe30e7eb8cd58eaf4d52af34
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/crypto/qat/qat_common/

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/crypto/qat/qat_common/adf_isr.c:148:6: error: implicit declaration of function 'adf_handle_pm_int' [-Werror,-Wimplicit-function-declaration]
if (adf_handle_pm_int(accel_dev))
^
1 error generated.


vim +/adf_handle_pm_int +148 drivers/crypto/qat/qat_common/adf_isr.c

147
> 148 if (adf_handle_pm_int(accel_dev))
149 return IRQ_HANDLED;
150
151 dev_dbg(&GET_DEV(accel_dev), "qat_dev%d spurious AE interrupt\n",
152 accel_dev->accel_id);
153
154 return IRQ_NONE;
155 }
156

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