On Sun, Mar 4, 2018 at 1:45 PM, Bartosz Golaszewski <[email protected]> wrote:

> If we failed to create the top debugfs directory, we must not try to
> create the child nodes. We currently only check if gpio_mockup_dbg_dir
> is not NULL, but it can also contain an errno if debugfs is disabled
> in build options. Use IS_ERR_OR_NULL() instead.
>
> Signed-off-by: Bartosz Golaszewski <[email protected]>

Patch applied.

Yours,
Linus Walleij

Reply via email to