Re: [PATCH] rtc: ds1374: wdt: Use watchdog core for watchdog part

From: kernel test robot
Date: Thu Jul 02 2020 - 10:39:53 EST


Hi "Johnson,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on abelloni/rtc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Johnson-CH-Chen/rtc-ds1374-wdt-Use-watchdog-core-for-watchdog-part/20200701-181230
base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: i386-randconfig-a006-20200701 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386

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

All errors (new ones prefixed by >>):

ld: drivers/rtc/rtc-ds1374.o: in function `ds1374_probe':
>> rtc-ds1374.c:(.text+0x41c): undefined reference to `watchdog_init_timeout'
>> ld: rtc-ds1374.c:(.text+0x443): undefined reference to `devm_watchdog_register_device'
ld: drivers/rtc/rtc-ds1374.o: in function `ds1374_remove':
>> rtc-ds1374.c:(.text.unlikely+0x1e): undefined reference to `watchdog_unregister_device'

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

Attachment: .config.gz
Description: application/gzip