[openib-general] Different low level drivers returns different return values incase of an error
Hoang-Nam Nguyen
HNGUYEN at de.ibm.com
Mon Dec 18 01:49:41 PST 2006
Hi Michael!
> > Anyway we should use same error
> > codes for both kernel and user space verbs.
>
> This actually does not sound like a good idea.
> In particular returning -<errno> values, or incoding them in pointers
> by means of PTR_ERR is the standard in linux kernel but seems quite
> nonstandard for a userspace library.
Oops, you're right in that case. I've overseen it.
Thx
Nam
More information about the general
mailing list