lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 06/16] watchdog: hpwdt: drop warning after calling watchdog_init_timeout

> 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);

?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-04-16 22:57    [W:0.058 / U:2.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site