mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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:
parent
ca28121114
commit
4b29043921
1 changed files with 5 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue