diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-05-10 23:18:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-14 02:51:17 +0300 |
commit | 25260555b118e71c64dfdb6786144f654fe1a27d (patch) | |
tree | adabe4fc9177db60881b8d0f71718e177ecae954 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 928b607d1a0941f02899e5490201ec071d5d4ff5 (diff) | |
download | linux-25260555b118e71c64dfdb6786144f654fe1a27d.tar.xz |
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 <hch@lst.de>
Cc: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240510201816.24921-1-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions