Re: [PATCH] UIO: make MAX_UIO_MAPS configurable by menuconfig

From: kbuild test robot
Date: Fri Mar 06 2020 - 10:05:48 EST


Hi Qiang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v5.6-rc4 next-20200306]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Qiang-Su/UIO-make-MAX_UIO_MAPS-configurable-by-menuconfig/20200306-192239
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 1f836f5b10f2524d33efde47d2b694b861ecf319
config: x86_64-randconfig-s0-20200306 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

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

All errors (new ones prefixed by >>):

In file included from drivers/uio/uio.c:26:0:
>> include/linux/uio_driver.h:47:22: error: 'CONFIG_MAX_UIO_MAPS' undeclared here (not in a function)
#define MAX_UIO_MAPS CONFIG_MAX_UIO_MAPS
^
include/linux/uio_driver.h:102:22: note: in expansion of macro 'MAX_UIO_MAPS'
struct uio_mem mem[MAX_UIO_MAPS];
^

vim +/CONFIG_MAX_UIO_MAPS +47 include/linux/uio_driver.h

46
> 47 #define MAX_UIO_MAPS CONFIG_MAX_UIO_MAPS
48

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip