dell-laptop: Check return value of each SMBIOS call
authorPali Rohár <pali.rohar@gmail.com>
Mon, 6 Jul 2015 10:08:56 +0000 (12:08 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 6 Jul 2015 22:34:38 +0000 (15:34 -0700)
commit715d0cdd5a459908c2b2eb1cfa30d6f6d1d7d710
treef50cce3efbf4226c60d45d0e362702db319166e8
parentced53f6d12e497ba210a518e7e76178da987f932
dell-laptop: Check return value of each SMBIOS call

Make sure that return value of each SMBIOS call is properly checked and do
not continue processing output if the call failed.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c