From: Dan Williams Date: Fri, 22 Jun 2012 18:31:14 +0000 (-0700) Subject: isci: fix isci_pci_probe() generates warning on efi failure path X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d70a74ffd616073a68ae0974d98819bfa8e6da6;p=pandora-kernel.git isci: fix isci_pci_probe() generates warning on efi failure path 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. Cc: Reported-by: Don Morris Signed-off-by: Dan Williams --- Reading git-diff-tree failed