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:18:16 -0700
committerJens Axboe <[email protected]>2024-05-13 17:51:17 -0600
commit25260555b118e71c64dfdb6786144f654fe1a27d (patch)
treeadabe4fc9177db60881b8d0f71718e177ecae954 /lib/test_fortify/write_overflow-strncpy-src.c
parent928b607d1a0941f02899e5490201ec071d5d4ff5 (diff)
null_blk: Fix two sparse warnings
Fix the following sparse warnings: drivers/block/null_blk/main.c:1243:35: warning: incorrect type in return expression (different base types) drivers/block/null_blk/main.c:1243:35: expected int drivers/block/null_blk/main.c:1243:35: got restricted blk_status_t drivers/block/null_blk/main.c:1291:30: warning: incorrect type in return expression (different base types) drivers/block/null_blk/main.c:1291:30: expected restricted blk_status_t drivers/block/null_blk/main.c:1291:30: got int Cc: Christoph Hellwig <[email protected]> Cc: Damien Le Moal <[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