Re: [RT PATCH v2] net/xfrm/xfrm_ipcomp: Protect scratch buffer with local_lock

From: kbuild test robot
Date: Tue Aug 20 2019 - 01:36:02 EST


Hi Juri,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc5 next-20190819]
[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/Juri-Lelli/net-xfrm-xfrm_ipcomp-Protect-scratch-buffer-with-local_lock/20190820-113542
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.4.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=7.4.0 make.cross ARCH=ia64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> net//xfrm/xfrm_ipcomp.c:17:10: fatal error: linux/locallock.h: No such file or directory
#include <linux/locallock.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.

vim +17 net//xfrm/xfrm_ipcomp.c

> 17 #include <linux/locallock.h>
18 #include <linux/module.h>
19 #include <linux/mutex.h>
20 #include <linux/percpu.h>
21 #include <linux/slab.h>
22 #include <linux/smp.h>
23 #include <linux/vmalloc.h>
24 #include <net/ip.h>
25 #include <net/ipcomp.h>
26 #include <net/xfrm.h>
27

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

Attachment: .config.gz
Description: application/gzip