diff options
author | Benjamin Gray <[email protected]> | 2023-10-11 16:37:03 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-10-19 17:12:47 +1100 |
commit | ddfb7d9db843fd4fbdff81fb8a8743f865c3dd96 (patch) | |
tree | d040abb002e404d1c6b3f6290f48b6735c8697f8 /arch/powerpc/kernel/traps.c | |
parent | 340a60e3725b9a229eaf03a9b3f8538f22f6ac16 (diff) |
powerpc: Use NULL instead of 0 for null pointers
Sparse reports several uses of 0 for pointer arguments and comparisons.
Replace with NULL to better convey the intent. Remove entirely if a
comparison to follow the kernel style of implicit boolean conversions.
Signed-off-by: Benjamin Gray <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions