commit | 2da887bc7534077961ec5248ab36b3dbb1505278 | [log] [tgz] |
---|---|---|
author | Zhang Qilong <zhangqilong3@huawei.com> | Tue Oct 27 21:49:01 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 10 10:24:03 2020 +0100 |
tree | ba313badc45b83d0ca849ddbc628afb64bd67ca6 | |
parent | 380faa74a12e4a6d2c67fe43a7ce60dfc521963a [diff] |
ACPI: NFIT: Fix comparison to '-ENXIO' [ Upstream commit 85f971b65a692b68181438e099b946cc06ed499b ] 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>