RDMA/amso1100: Don't use 0UL as a NULL pointer

Write tests for NULL pointers as

	if (!ptr)

instead of

	if (ptr == 0UL)

to fix sparse warnings.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
This commit is contained in:
Roland Dreier 2008-04-16 21:01:06 -07:00
commit 4b29043921