diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-06-12 22:27:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-27 16:16:07 +0200 |
commit | 5afbfa8cddb451432016fd37d836f9e5b1f0d6cb (patch) | |
tree | affd6d6b12e37d01579770310531f6c18363eac7 /drivers/android/binder.c | |
parent | vboxguest: Do not use devm for irq (diff) | |
download | linux-5afbfa8cddb451432016fd37d836f9e5b1f0d6cb.tar.xz linux-5afbfa8cddb451432016fd37d836f9e5b1f0d6cb.zip |
lkdtm: cfi: use NULL for a null pointer rather than zero
There is a pointer being initialized with a zero, use NULL instead.
Cleans up sparse warning:
drivers/misc/lkdtm/cfi.c:100:27: warning: Using plain integer as NULL pointer
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220612202708.2754270-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
0 files changed, 0 insertions, 0 deletions