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: NRoland Dreier <rolandd@cisco.com> Acked-by: NSteve Wise <swise@opengridcomputing.com>
Showing
想要评论请 注册 或 登录