summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/alternative.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-06-22 11:31:14 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:32:29 -0700
commitb4d4dc33a372aaee2205d4506b4c7ead6275067d (patch)
tree7344920381bae14a99dafcc5e0c42b77c04e3044 /arch/x86/kernel/alternative.c
parent22fb582405002812d8fb89d0ed1264e97d3d25ad (diff)
isci: fix isci_pci_probe() generates warning on efi failure path
commit 6d70a74ffd616073a68ae0974d98819bfa8e6da6 upstream. The oem parameter image embedded in the efi variable is at an offset from the start of the variable. However, in the failure path we try to free the 'orom' pointer which is only valid when the paramaters are being read from the legacy option-rom space. Since failure to load the oem parameters is unlikely and we keep the memory around in the success case just defer all de-allocation to devm. Reported-by: Don Morris <don.morris@hp.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/alternative.c')
0 files changed, 0 insertions, 0 deletions