[ofw] RE: [PATCH] libibverbs add missing errno value
Sean Hefty
sean.hefty at intel.com
Fri Oct 30 12:30:13 PDT 2009
>Add missing errno value to verbs.h, per your recommendation.
>
>Signed-off-by: <stan.smith at intel.com>
>
>--- a/ulp/libibverbs/include/infiniband/verbs.h Fri Oct 30 10:55:30 2009
>+++ b/ulp/libibverbs/include/infiniband/verbs.h Fri Oct 30 09:42:18 2009
>@@ -63,6 +63,8 @@
> #define EAFNOSUPPORT WV_INVALID_ADDRESS
> #define EWOULDBLOCK WV_DEVICE_BUSY
>
>+#define ECONNRESET WSAECONNRESET
I think this is fine. It at least keeps the error definitions together in a
single place. Proper use of errno needs to be added throughout the winof tree
at some point. MS only defines a small set of errno values though.
More information about the ofw
mailing list