Re: [RFC v3 4/9] kmsg: add additional buffers support to memory class

From: kbuild test robot
Date: Mon Oct 19 2015 - 09:55:49 EST


Hi Marcin,

[auto build test ERROR on next-20151016 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Paul-Osmialowski/Additional-kmsg-devices/20151019-211509
config: x86_64-allnoconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/char/mem.c: In function 'chr_dev_init':
>> drivers/char/mem.c:878:19: error: 'KMSG_MINOR' undeclared (first use in this function)
kmsg = init_kmsg(KMSG_MINOR, 0644);
^
drivers/char/mem.c:878:19: note: each undeclared identifier is reported only once for each function it appears in

vim +/KMSG_MINOR +878 drivers/char/mem.c

872 continue;
873
874 device_create(mem_class, NULL, MKDEV(MEM_MAJOR, minor),
875 NULL, devlist[minor].name);
876 }
877
> 878 kmsg = init_kmsg(KMSG_MINOR, 0644);
879 if (IS_ERR(kmsg))
880 return PTR_ERR(kmsg);
881

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

Attachment: .config.gz
Description: Binary data