commit | c6f9288ee460565b94994aaf3261318199c2a674 | [log] [tgz] |
---|---|---|
author | weiyongjun (A) <weiyongjun1@huawei.com> | Tue Nov 14 13:40:13 2017 +0000 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Nov 21 20:11:44 2017 +0200 |
tree | 54b462c08c87929bddfc9635d02935ffa134707c | |
parent | 4255c30fe88ee3cc99bbeac7974db27e4217a497 [diff] |
platform/x86: dell-laptop: fix error return code in dell_init() Fix to return error code -ENOMEM from the kzalloc() error handling case instead of 0, as done elsewhere in this function. Fixes: 549b4930f057 ("platform/x86: dell-smbios: Introduce dispatcher for SMM calls") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Mario Limonciello <mario.limonciello@dell.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>