[ofa-general] [PATCH][TRIVIAL] libibmad/src/rpc.c: Eliminate compiler warning
Hal Rosenstock
hrosenstock at xsigo.com
Mon Jul 7 14:07:31 PDT 2008
libibmad/src/rpc.c: Eliminate compiler warning
Signed-off-by: Hal Rosenstock <hal at xsigo.com>
diff --git a/libibmad/src/rpc.c b/libibmad/src/rpc.c
index a2cec95..df28f65 100644
--- a/libibmad/src/rpc.c
+++ b/libibmad/src/rpc.c
@@ -213,7 +213,7 @@ void *
mad_rpc_rmpp(const void *port_id, ib_rpc_t *rpc, ib_portid_t *dport,
ib_rmpp_hdr_t *rmpp, void *data)
{
- struct ibmad_port *p = port_id;
+ const struct ibmad_port *p = port_id;
int status, len;
uint8_t sndbuf[1024], rcvbuf[1024], *mad;
More information about the general
mailing list