Hi Yuri, Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc7 next-20181221] [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/Yuri-Norov/rework-bitmap_parselist/20181223-175529 config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): >> lib//bitmap.c:519:24: warning: incorrect type in argument 1 (different >> address spaces) lib//bitmap.c:519:24: expected void const volatile [noderef] <asn:1> * lib//bitmap.c:519:24: got char const *str lib//bitmap.c:735:53: warning: incorrect type in argument 2 (different address spaces) lib//bitmap.c:735:53: expected char const *const end lib//bitmap.c:735:53: got char const [noderef] <asn:1> * include/linux/slab.h:332:43: warning: dubious: x & !y vim +519 lib//bitmap.c 87ac23b8 Yuri Norov 2018-12-23 515 32eb0e6b Yuri Norov 2018-12-23 516 static long get_char(char *c, const char *str, int is_user) 32eb0e6b Yuri Norov 2018-12-23 517 { 32eb0e6b Yuri Norov 2018-12-23 518 if (unlikely(is_user)) 32eb0e6b Yuri Norov 2018-12-23 @519 return __get_user(*c, str); 32eb0e6b Yuri Norov 2018-12-23 520 32eb0e6b Yuri Norov 2018-12-23 521 *c = *str; 32eb0e6b Yuri Norov 2018-12-23 522 return 0; 32eb0e6b Yuri Norov 2018-12-23 523 } 32eb0e6b Yuri Norov 2018-12-23 524 :::::: The code at line 519 was first introduced by commit :::::: 32eb0e6b5e705132d4efef268c65730a2f2b9c41 bitmap_parselist: rework input string parser :::::: TO: Yuri Norov <[email protected]> :::::: CC: 0day robot <[email protected]> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip

