Re: [PATCH] V4 init/main.c Enable watchdog_thresh control from kernel line

From: kbuild test robot
Date: Mon Oct 29 2018 - 22:01:46 EST

Hi Laurence,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux-sof-driver/master]
[also build test ERROR on v4.19 next-20181029]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: master
config: i386-randconfig-k3-10291547 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

init/main.c: In function 'is_watchdog_thresh_setup':
>> init/main.c:1036:20: error: 'watchdog_thresh' undeclared (first use in this function); did you mean 'proc_watchdog_thresh'?
get_option(&str, &watchdog_thresh);
init/main.c:1036:20: note: each undeclared identifier is reported only once for each function it appears in

vim +1036 init/main.c

1034 static int __init is_watchdog_thresh_setup(char *str)
1035 {
> 1036 get_option(&str, &watchdog_thresh);
1037 return 1;
1038 }
1039 __setup("watchdog_thresh=", is_watchdog_thresh_setup);

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip