> 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

Reply via email to