linux-next: build failure after merge of the watchdog tree
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");
| ^~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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the watchdog tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 7 lines
In file included from
include/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/watchdog/iTCO_wdt.c:48:drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':drivers/watchdog/iTCO_wdt.c:280:17: error: 'structwatchdog_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
Quoted 12 lines
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.
Hi all,
Quoted 15 lines · On Sun, 13 Dec 2020 22:09:55 -0800 Guenter Roeck <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the watchdog tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 7 lines
In file included from
include/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/watchdog/iTCO_wdt.c:48:drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':drivers/watchdog/iTCO_wdt.c:280:17: error: 'structwatchdog_device' has no member named 'dev'
280 |dev_err(wd_dev->dev, "failed to reset NO_REBOOT flag, reboot disabled by hardware/BIOS\n");
| ^~
Quoted 13 lines
Yes, that should have been
wd_dev->parent. Sorry I didn't notice that earlier.Guenter
Quoted 9 lines
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.
I am still getting this build failure.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 26 lines · Stephen Rothwell
Hi all,
Quoted 23 lines · On Sun, 13 Dec 2020 22:09:55 -0800 Guenter Roeck <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the watchdog tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 7 lines
In file included from
include/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/watchdog/iTCO_wdt.c:48:drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':drivers/watchdog/iTCO_wdt.c:280:17: error: 'structwatchdog_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
Quoted 4 lines
include/linux/dev_printk.h:112:11: note: in definition of macro 'dev_err'
112 |_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)| ^~~
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
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.
I am still getting this build failure.
Yes, we'll have to wait for Wim to either drop the patch or fix it up.
Guenter
Hi Stephen,
It's on my todo list for today.
Kind ergards,
Wim.
Quoted 37 lines
Hi all,
Quoted 15 lines · On Sun, 13 Dec 2020 22:09:55 -0800 Guenter Roeck <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the watchdog tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 7 lines
In file included from
include/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/watchdog/iTCO_wdt.c:48:drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':drivers/watchdog/iTCO_wdt.c:280:17: error: 'structwatchdog_device' has no member named 'dev'
280 |dev_err(wd_dev->dev, "failed to reset NO_REBOOT flag, reboot disabled by hardware/BIOS\n");
| ^~Quoted 13 lines
Yes, that should have been
wd_dev->parent. Sorry I didn't notice that earlier.Guenter
Quoted 9 lines
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.
I am still getting this build failure.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Some operational work-related issues broke my planning yesterday. I just made the changes to the watchdog tree.
My apologies,
Wim.
Quoted 46 lines
Hi Stephen,
It's on my todo list for today.
Kind ergards,
Wim.Quoted 37 lines
Hi all,
Quoted 15 lines · On Sun, 13 Dec 2020 22:09:55 -0800 Guenter Roeck <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the watchdog tree, today's linux-next build (
x86_64allmodconfig) failed like this:Quoted 7 lines
In file included from
include/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/watchdog/iTCO_wdt.c:48:drivers/watchdog/iTCO_wdt.c: In function 'iTCO_wdt_start':drivers/watchdog/iTCO_wdt.c:280:17: error: 'structwatchdog_device' has no member named 'dev'
280 |dev_err(wd_dev->dev, "failed to reset NO_REBOOT flag, reboot disabled by hardware/BIOS\n");
| ^~Quoted 13 lines
Yes, that should have been
wd_dev->parent. Sorry I didn't notice that earlier.Guenter
Quoted 9 lines
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.
I am still getting this build failure.
Signature · 2 lines
Cheers, Stephen Rothwell