Re: [PATCH v2 06/16] watchdog: hpwdt: drop warning after calling watchdog_init_timeout
From: Wolfram Sang
Date: Tue Apr 16 2019 - 16:55:37 EST
> 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:
signature.asc
Description: PGP signature