Re: [PATCH] acpi/nfit: unlock on error in scrub_show()

From: Dan Williams
Date: Fri Oct 18 2019 - 12:16:46 EST


On Fri, Oct 18, 2019 at 5:37 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> We change the locking in this function and forgot to update this error
> path so we are accidentally still holding the "dev->lockdep_mutex".
>
> Fixes: 87a30e1f05d7 ("driver-core, libnvdimm: Let device subsystems add local lockdep coverage")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Looks good to me, thanks Dan.