Thread (1 message) 1 message, 1 author, 2012-10-18

Re: [Patch] ib/mlx4: Fix build error on platforms where UL is not 64bit

From: Roland Dreier <hidden>
Date: 2012-10-18 17:33:41

-               return  (__force __be64) ((u64) 0xFFFFFFFFFFFFFFFFUL);
+               return  (__force __be64) ((u64) 0xFFFFFFFFFFFFFFFFULL);
Thanks, applied, although I tweaked the expression

    ((u64) 0xFFFFFFFFFFFFFFFFULL)

to be just

    -1

The final "(__force __be64) -1" should be correct and work right on both
32-bit and 64-bit.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help