Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- ibacm/src/acm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibacm/src/acm.c b/ibacm/src/acm.c index b7f1dc0..2d0d1d4 100644 --- a/ibacm/src/acm.c +++ b/ibacm/src/acm.c @@ -2772,7 +2772,7 @@ static void acmc_recv_mad(struct acmc_port *port) pthread_mutex_lock(&port->lock); list_for_each(&port->sa_pending, req, entry) { /* The lower 32-bit of the tid is used for agentid in umad */ - if (req->mad.sa_mad.mad_hdr.tid == (hdr->tid & 0xFFFFFFFF00000000)) { + if (req->mad.sa_mad.mad_hdr.tid == (hdr->tid & 0xFFFFFFFF00000000ULL)) { found = 1; list_del(&req->entry); port->sa_credits++; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html