svn commit: r290711 - head/sys/ofed/drivers/infiniband/core
Hans Petter Selasky
hps at selasky.org
Fri Nov 13 08:17:20 UTC 2015
Hi,
On 11/12/15 18:17, Conrad Meyer wrote:
> These should cast through (u)intptr_t rather than unsigned long.
>
This is Linux code, and they use "unsigned long" for pointer casts
everywhere, trying to not break their style.
BTW: I added to linux_compat.c:
CTASSERT(sizeof(unsigned long) == sizeof(uintptr_t));
And it survived my "tinderbox" build and I was surprised!
--HPS
More information about the svn-src-all
mailing list