]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ACPICA: Events: add a return on failure from acpi_hw_register_read
authorErik Schmauss <erik.schmauss@intel.com>
Wed, 14 Mar 2018 23:13:08 +0000 (16:13 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit2fa684be7f616a86324e36ddad908d40f838e7d3
tree5978497baaa901349435c1c6f93a6e99bc85ed60
parentb4edc2bedefd9e190cd65a26259e3fea4c56fc8f
ACPICA: Events: add a return on failure from acpi_hw_register_read

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit b4c0de312613ca676db5bd7e696a44b56795612a ]

This ensures that acpi_ev_fixed_event_detect() does not use fixed_status
and and fixed_enable as uninitialized variables.

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/acpica/evevent.c