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]

base: hwmon-next
config: sparc64-allmodconfig (attached as .config)
wget -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

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 };
237 static int usb_streamlabs_wdt_probe(struct usb_interface *intf,

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

Attachment: .config.gz
Description: Binary data