[ofa-general] [PATCH] IB/core: return immediate error when registering zero length buffer

Or Gerlitz ogerlitz at voltaire.com
Sun Jul 27 22:34:37 PDT 2008


Eli Cohen wrote:
> +	if (!size)
> +		return ERR_PTR(-ENOMEM);
doesn't EINVAL makes more sense here?

Or.




More information about the general mailing list