Re: [PATCH 11/13] Always define MAX_RAW_MINORS as 2**20 in userspace

From: kbuild test robot
Date: Tue Nov 03 2015 - 15:13:12 EST


Hi Palmer,

[auto build test ERROR on v4.3-rc7]
[also ERROR on: next-20151103]

url: https://github.com/0day-ci/linux/commits/Palmer-Dabbelt/Remove-ifdef-CONFIG_64BIT-from-all-asm-generic-fcntl-h/20151104-035501
base: https://github.com/0day-ci/linux Palmer-Dabbelt/Remove-ifdef-CONFIG_64BIT-from-all-asm-generic-fcntl-h/20151104-035501
config: x86_64-randconfig-x014-11022153 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/char/raw.c:39:29: error: 'CONFIG_MAX_RAW_MINORS' undeclared here (not in a function)
static int max_raw_minors = CONFIG_MAX_RAW_MINORS;
^

vim +/CONFIG_MAX_RAW_MINORS +39 drivers/char/raw.c

33
34 static struct class *raw_class;
35 static struct raw_device_data *raw_devices;
36 static DEFINE_MUTEX(raw_mutex);
37 static const struct file_operations raw_ctl_fops; /* forward declaration */
38
> 39 static int max_raw_minors = CONFIG_MAX_RAW_MINORS;
40
41 module_param(max_raw_minors, int, 0);
42 MODULE_PARM_DESC(max_raw_minors, "Maximum number of raw devices (1-65536)");

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

Attachment: .config.gz
Description: Binary data