Re: [PATCH] watchdog: add driver for StreamLabs USB watchdog device
From: kbuild test robot
Date: Wed Mar 09 2016 - 23:09:52 EST
Hi Alexey,
[auto build test ERROR on hwmon/hwmon-next]
[also build test ERROR on v4.5-rc7 next-20160309]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Alexey-Klimov/watchdog-add-driver-for-StreamLabs-USB-watchdog-device/20160310-103523
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: sparc64-allmodconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All error/warnings (new ones prefixed by >>):
>> drivers/watchdog/streamlabs_wdt.c:233:2: error: unknown field 'ref' specified in initializer
.ref = usb_streamlabs_wdt_ref,
^
>> drivers/watchdog/streamlabs_wdt.c:233:2: warning: initialization from incompatible pointer type
drivers/watchdog/streamlabs_wdt.c:233:2: warning: (near initialization for 'usb_streamlabs_wdt_ops.get_timeleft')
>> drivers/watchdog/streamlabs_wdt.c:234:2: error: unknown field 'unref' specified in initializer
.unref = usb_streamlabs_wdt_unref,
^
drivers/watchdog/streamlabs_wdt.c:234:2: warning: initialization from incompatible pointer type
drivers/watchdog/streamlabs_wdt.c:234:2: warning: (near initialization for 'usb_streamlabs_wdt_ops.restart')
vim +/ref +233 drivers/watchdog/streamlabs_wdt.c
227
228 static struct watchdog_ops usb_streamlabs_wdt_ops = {
229 .owner = THIS_MODULE,
230 .start = usb_streamlabs_wdt_start,
231 .stop = usb_streamlabs_wdt_stop,
232 .set_timeout = usb_streamlabs_wdt_settimeout,
> 233 .ref = usb_streamlabs_wdt_ref,
> 234 .unref = usb_streamlabs_wdt_unref,
235 };
236
237 static int usb_streamlabs_wdt_probe(struct usb_interface *intf,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data