diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-14 19:55:49 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-08-19 19:13:59 +0200 |
commit | c39524e6744284452ef45480d3153bec28960c32 (patch) | |
tree | 882000ee5c8ed18ce406f803cc8ae039ddd0a227 /tools | |
parent | acpi/apei/erst: Add missing iounmap() on error in erst_exec_move_data() (diff) | |
download | linux-c39524e6744284452ef45480d3153bec28960c32.tar.xz linux-c39524e6744284452ef45480d3153bec28960c32.zip |
pstore: d_alloc_name() doesn't return an ERR_PTR
d_alloc_name() returns NULL on error. Also I changed the error code
from -ENOSPC to -ENOMEM to reflect that we were short on RAM not disk
space.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions