Please try:
const char *foo="Michael Tsirkin";
as opposed to
const char foo[]="Michael Tsirkin";
-----Original Message-----
From: Roland Dreier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 24, 2005 10:07 PM
To: Michael S. Tsirkin
Cc: [email protected]; Eli Cohen
Subject: Re: registering read-only memory
> const char foo[]="Michael Tsirkin";
> ibv_reg_mr(ctx->pd, foo, strlen(foo), 0);
This seemed to work fine on my system (I got a non-null ibv_mr back
with valid-looking L_Key/R_Key).
- R.
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
