diff options
author | Bart Van Assche <[email protected]> | 2024-05-10 13:23:09 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-14 07:22:35 -0600 |
commit | 08190cc4d8a62f2a07b4158751afd3a01638c4c5 (patch) | |
tree | 5888574fb101217580898aab43d2143cfb21a8fb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9ead7efc6f3f2b46c4ec68209bca4888cfbd4c19 (diff) |
nbd: Use NULL to represent a pointer
This patch fixes the following sparse warnings:
drivers/block/nbd.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/nbd.h):
./include/trace/events/nbd.h:61:1: warning: Using plain integer as NULL pointer
drivers/block/nbd.c: note: in included file (through include/trace/perf.h, include/trace/define_trace.h, include/trace/events/nbd.h):
./include/trace/events/nbd.h:61:1: warning: Using plain integer as NULL pointer
Cc: Christoph Hellwig <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Yu Kuai <[email protected]>
Cc: Markus Pargmann <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions