Re: [PATCH] char/random: silence a lockdep splat with printk()

From: Steven Rostedt
Date: Thu Jan 02 2020 - 12:08:00 EST


On Thu, 2 Jan 2020 10:42:51 -0500
Qian Cai <cai@xxxxxx> wrote:

> > On Dec 16, 2019, at 8:52 PM, Qian Cai <cai@xxxxxx> wrote:
> >
> >
> >
> >> On Dec 4, 2019, at 8:00 PM, Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> wrote:
> >>
> >> A 'Reviewed-by' will suffice.
> >>
> >> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> >
> > Ted, could you take a look at this trivial patch?
>
> Not sure if Ted is still interested in maintaining this file as he had no feedback for more
> than a month. The problem is that this will render the lockdep useless for a general
> debugging tool as it will disable the lockdep early in the process.
>

How would this disable lockdep early in the process? The patch is just
changing pr_notice() to printk_deferred() correct?

-- Steve