diff options
author | Hoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com> | 2007-05-16 14:50:55 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-19 08:51:54 -0700 |
commit | bd5a6ccc0e6d8eed3047b4af0e5c1e7168869cd8 (patch) | |
tree | de6f1244a49a5facba605812d8c0f03167374ff2 /drivers/acpi/dock.c | |
parent | 26bbf13ce1ca21ec69175bcc4b995cb8ffdf8593 (diff) |
IB/ehca: Return proper error code if register_mr fails
Set the return code of ehca_register_mr() to ENOMEM if the corresponding
firmware call fails due to out of resources. Some other error codes
were explicitly mapped to EINVAL -- just remove those cases so they
get mapped to the default case, which already returns EINVAL anyway.
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/acpi/dock.c')
0 files changed, 0 insertions, 0 deletions