Re: [PATCH 2.6.22] ehca: return proper error code if register_mr fails

2007-05-17 Thread Roland Dreier
thanks, applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 2.6.22] ehca: return proper error code if register_mr fails

2007-05-16 Thread Hoang-Nam Nguyen
This patch sets the return code of ehca_register_mr() to ENOMEM if corresponding firmware call fails due to out of resources. Some of error codes were mapped to EINVAL. They are now mapped to default case, which already returns EINVAL anyway. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --