diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2015-12-11 23:24:10 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-12-11 14:24:26 -0800 |
commit | d91e892825ae6f0ed4f8b07ae5d348eff86ab2ea (patch) | |
tree | e25ddeaa0a9eddc4ede432c2c4485e9504801153 /arch | |
parent | 527e9316f8ec44bd53d90fb9f611fa7ffff52bb9 (diff) | |
download | linux-d91e892825ae6f0ed4f8b07ae5d348eff86ab2ea.tar.bz2 |
nfit: acpi_nfit_notify(): Do not leave device locked
Even if dev->driver is null because we are being removed,
it is safer to not leave device locked.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions