ACPICA: Dispatcher: add status checks
authorErik Kaneda <erik.kaneda@intel.com>
Tue, 5 May 2020 00:46:52 +0000 (17:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:30:52 +0000 (09:30 +0200)
commitfec6f8c0b22100956f2a7ccf4eaea27e359b0e38
tree110cd7d8c8c8defaadc2417c9120f5d636479fe0
parentc916af516d822c31ee2daf12c53457cb5b05e62d
ACPICA: Dispatcher: add status checks

[ Upstream commit 6bfe5344b2956d0bee116f1c640aef05e5cddd76 ]

ACPICA commit 3244c1eeba9f9fb9ccedb875f7923a3d85e0c6aa

The status chekcs are used to to avoid NULL pointer dereference on
field objects

Link: https://github.com/acpica/acpica/commit/3244c1ee
Reported-by: Kurt Kennett <kurt_kennett@hotmail.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/acpica/dsfield.c