projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d683b96
)
ACPI, APEI, EINJ: Fix error return code in einj_init()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Wed, 5 Jun 2013 23:18:12 +0000
(16:18 -0700)
committer
Tony Luck
<tony.luck@intel.com>
Wed, 5 Jun 2013 23:18:12 +0000
(16:18 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/apei/einj.c
b/drivers/acpi/apei/einj.c
index 8d457b55c55aafe0c27fa51ab0da644e93fd0486..2cc8e034a3c0d58d20ca23bdc0423f4ab5c434c2 100644
(file)
--- a/
drivers/acpi/apei/einj.c
+++ b/
drivers/acpi/apei/einj.c
@@
-694,6
+694,7
@@
static int __init einj_init(void)
if (rc)
goto err_release;
+ rc = -ENOMEM;
einj_param = einj_get_parameter_address();
if ((param_extension || acpi5) && einj_param) {
fentry = debugfs_create_x64("param1", S_IRUSR | S_IWUSR,
This page took
0.034944 seconds
and
5
git commands to generate.