lkml.org 
[lkml]   [2020]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: build failure after merge of the watchdog tree
From
Date
On 12/13/20 9:23 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the watchdog tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from include/linux/device.h:15,
> from include/linux/acpi.h:15,
> from drivers/watchdog/iTCO_wdt.c:48:
> drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':
> drivers/watchdog/iTCO_wdt.c:280:17: error: 'struct watchdog_device' has no member named 'dev'
> 280 | dev_err(wd_dev->dev, "failed to reset NO_REBOOT flag, reboot disabled by hardware/BIOS\n");
> | ^~

Yes, that should have been wd_dev->parent. Sorry I didn't notice that earlier.

Guenter

> include/linux/dev_printk.h:112:11: note: in definition of macro 'dev_err'
> 112 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
> | ^~~
>
> Caused by commit
>
> 9c612b338fdf ("watchdog: iTCO_wdt: use dev_*() instead of pr_*() for logging")
>


> I have used the wtchdog tree from next-20201211 for today.
>


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-12-14 07:11    [W:0.054 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site