aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorkbuild test robot <[email protected]>2019-08-09 16:40:34 +0200
committerArnd Bergmann <[email protected]>2019-08-15 21:33:54 +0200
commit772775c1dfe00c99a9fe449ed35f74f1067f0128 (patch)
tree137a7f6366889ff3a793e3ad3aaefb5d38d6ad39 /lib/mpi/mpi-cmp.c
parentecca1a6277aac10e40e4baba28adb893899b24b3 (diff)
net: lpc-enet: fix badzero.cocci warnings
drivers/net/ethernet/nxp/lpc_eth.c:1316:31-32: WARNING comparing pointer to 0 Compare pointer-typed values to NULL rather than 0 Semantic patch information: This makes an effort to choose between !x and x == NULL. !x is used if it has previously been used with the function used to initialize x. This relies on type information. More type information can be obtained using the option -all_includes and the option -I to specify an include path. Generated by: scripts/coccinelle/null/badzero.cocci Link: https://lore.kernel.org/r/[email protected] Fixes: e42016eb3844 ("net: lpc-enet: allow compile testing") Signed-off-by: kbuild test robot <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions