aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2024-05-10 13:23:09 -0700
committerJens Axboe <[email protected]>2024-05-14 07:22:35 -0600
commit08190cc4d8a62f2a07b4158751afd3a01638c4c5 (patch)
tree5888574fb101217580898aab43d2143cfb21a8fb /lib/test_fortify/write_overflow-strncpy-src.c
parent9ead7efc6f3f2b46c4ec68209bca4888cfbd4c19 (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