Re: [PATCH] USB: dwc3: remove debugfs root dentry storage

From: Felipe Balbi
Date: Thu Jun 10 2021 - 05:29:01 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:

> There is no need to keep around the debugfs "root" directory for the
> dwc3 device. Instead, look it up anytime we need to find it. This will
> help when callers get out-of-order and we had the potential to have a
> "stale" pointer around for the root dentry, as has happened in the past.
>
> Cc: Felipe Balbi <balbi@xxxxxxxxxx>
> Cc: Jack Pham <jackp@xxxxxxxxxxxxxx>
> Cc: Peter Chen <peter.chen@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Acked-by: Felipe Balbi <balbi@xxxxxxxxxx>

--
balbi

Attachment: signature.asc
Description: PGP signature