]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / APEI: fix error return code in einj_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Jun 2013 02:17:35 +0000 (02:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Jun 2013 10:49:40 +0000 (12:49 +0200)
commit75970c9e79502add58a51c1d6ffd9107f3977d81
tree97631646c7097d14958ae71f7cd181df4aabf0f1
parente9c2c4bd5a099e1641e1c2ff2092472f3dd7fe32
ACPI / APEI: fix error return code in einj_init()

Fix to return -ENOMEM in the debugfs_create_xxx() error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/einj.c