summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2010-10-21 11:48:47 +0200
committerMatthew Garrett <mjg@redhat.com>2010-10-21 16:10:49 +0200
commitaa13857f13c3d5535904781e264d8f9115e30438 (patch)
tree88493bebeabb3a8d2595569ac3aec968577b4947 /arch/m68knommu
parentintel_pmic_gpio: fix off-by-one value range checking (diff)
downloadlinux-aa13857f13c3d5535904781e264d8f9115e30438.tar.xz
linux-aa13857f13c3d5535904781e264d8f9115e30438.zip
panasonic-laptop: Handle errors properly if they happen
acpi_pcc_retrieve_biosdata() returns success instead of error if HKEY.SINF is invalid. Fix this. Furthermore, if acpi_pcc_retrieve_biosdata() returns an error during device addition, initialization is properly reverted but value 0 is returned, which means success. This would cause a crash when later using or removing the device, so fix this too. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Harald Welte <laforge@gnumonks.org> Cc: Bruno Premont <bonbons@linux-vserver.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions