Re: [PATCH v2 06/16] watchdog: hpwdt: drop warning after calling watchdog_init_timeout

Wolfram Sang
2019-04-16T20:55:37Z

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

> That is indeed a problem: the pointer will be NULL if there is no parent
> device (such as in softdog.c). Otherwise it should never be NULL.

Okay, this spoils my err_dev solution. So, we probably go this route
then:

pr_<errlvl>("watchdog%d: <err_msg>\n", wdd->id);

?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]