linux/drivers/acpi/nfit
Zhang Qilong 937753df48 ACPI: NFIT: Fix comparison to '-ENXIO'
[ Upstream commit 85f971b65a ]

Initial value of rc is '-ENXIO', and we should
use the initial value to check it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-10 12:37:31 +01:00
..
core.c ACPI: NFIT: Fix comparison to '-ENXIO' 2020-11-10 12:37:31 +01:00
intel.c libnvdimm/security: Introduce a 'frozen' attribute 2019-08-29 13:49:13 -07:00
intel.h
Kconfig
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mce.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 295 2019-06-05 17:36:38 +02:00
nfit.h acpi/nfit: improve bounds checking for 'func' 2020-04-21 09:04:52 +02:00