diff options
author | 2024-04-04 21:29:33 +0200 | |
---|---|---|
committer | 2024-04-22 16:45:52 +0200 | |
commit | c7933eaeaf12dd06a7b721ad50b7a78b0f3cbf46 (patch) | |
tree | 52c21ddd2fa75e762e535f761d68f4eb9c3079a9 /scripts/generate_rust_analyzer.py | |
parent | sparc: Use swap() to fix Coccinelle warning (diff) | |
download | linux-rng-c7933eaeaf12dd06a7b721ad50b7a78b0f3cbf46.tar.xz linux-rng-c7933eaeaf12dd06a7b721ad50b7a78b0f3cbf46.zip |
sparc: Compare pointers to NULL instead of 0
Fixes the following two Coccinelle/coccicheck warnings reported by
badzero.cocci:
WARNING comparing pointer to 0
WARNING comparing pointer to 0
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240404192932.13075-2-thorsten.blum@toblux.com
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions