]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI, APEI, EINJ: Fix error return code in einj_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Jun 2013 23:18:12 +0000 (16:18 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 5 Jun 2013 23:18:12 +0000 (16:18 -0700)
commitb8edb64119b4e8158f268e250dcb9919a3b7ccea
tree36947b668f06c81db8e68048517c2608a6d4b62d
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e
ACPI, APEI, EINJ: 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: Tony Luck <tony.luck@intel.com>
drivers/acpi/apei/einj.c