Re: [PATCH] zcrypt: handle AP Info notification from CHSC SEI command

From: kbuild test robot
Date: Sun Feb 03 2019 - 04:28:32 EST


Hi Tony,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.0-rc4 next-20190201]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Tony-Krowiak/zcrypt-handle-AP-Info-notification-from-CHSC-SEI-command/20190202-184856
config: s390-alldefconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.2.0 make.cross ARCH=s390

All errors (new ones prefixed by >>):

In file included from arch/s390/kvm/kvm-s390.c:46:
>> arch/s390/include/asm/ap.h:371:2: error: #error "no CONFIG_ZCRYPT"
#error "no CONFIG_ZCRYPT"
^~~~~
In file included from arch/s390/kvm/kvm-s390.c:46:
arch/s390/include/asm/ap.h:372:13: warning: 'ap_bus_cfg_chg' defined but not used [-Wunused-function]
static void ap_bus_cfg_chg(void){};
^~~~~~~~~~~~~~

vim +371 arch/s390/include/asm/ap.h

362
363 /*
364 * Interface to tell the AP bus code that a configuration
365 * change has happened. The bus code should at least do
366 * an ap bus resource rescan.
367 */
368 #if IS_ENABLED(CONFIG_ZCRYPT)
369 void ap_bus_cfg_chg(void);
370 #else
> 371 #error "no CONFIG_ZCRYPT"
372 static void ap_bus_cfg_chg(void){};
373 #endif
374

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip