diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 08:01:06 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 08:01:06 +0400 |
commit | 4b29043921ef021443c5e0d055b7b8dd5df88258 (patch) | |
tree | 56cd6b22dc32a024a2152e3149c9741b806ef0f3 /drivers/infiniband/hw/cxgb3/iwch.h | |
parent | ca2812111433284024386a8cfd4151651469523e (diff) | |
download | linux-4b29043921ef021443c5e0d055b7b8dd5df88258.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch.h')
0 files changed, 0 insertions, 0 deletions