Re: [PATCH 1/1] Sealable memory support

From: kbuild test robot
Date: Wed May 31 2017 - 09:56:35 EST


Hi Igor,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.12-rc3 next-20170531]
[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/Igor-Stoppa/Sealable-memory-support/20170522-163525
base: git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-v0-05311736 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

In file included from mm/smalloc.c:24:
>> mm/smalloc.h:47: error: flexible array member in otherwise empty struct
mm/smalloc.c: In function 'smalloc_seal_set':
mm/smalloc.c:135: error: implicit declaration of function 'set_memory_ro'
mm/smalloc.c:138: error: implicit declaration of function 'set_memory_rw'

vim +47 mm/smalloc.h

41 struct mutex lock;
42 enum seal_t seal;
43 };
44
45 struct smalloc_node {
46 NODE_HEADER;
> 47 __SMALLOC_ALIGNED__ align_t data[];
48 };
49
50 #define smalloc_seal(pool) \

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

Attachment: .config.gz
Description: application/gzip