diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-02-05 21:04:18 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2024-02-20 13:43:18 -0500 |
commit | a6c05c981ecc841a3e95af666c2a1a6a265e7adc (patch) | |
tree | 528cea3223ca8b230c2853403c6aebff672ebdde /drivers/md/dm-vdo/io-submitter.c | |
parent | ff9199464886500bd0c3df4a5ebae4760607aeda (diff) | |
download | lwn-a6c05c981ecc841a3e95af666c2a1a6a265e7adc.tar.gz lwn-a6c05c981ecc841a3e95af666c2a1a6a265e7adc.zip |
dm vdo: fix various blk_opf_t sparse warnings
Use proper blk_opf_t type rather than unsigned int.
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/io-submitter.c')
-rw-r--r-- | drivers/md/dm-vdo/io-submitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/io-submitter.c b/drivers/md/dm-vdo/io-submitter.c index 74f33a3ddce5..6c050f2b3b44 100644 --- a/drivers/md/dm-vdo/io-submitter.c +++ b/drivers/md/dm-vdo/io-submitter.c @@ -338,7 +338,7 @@ void vdo_submit_data_vio(struct data_vio *data_vio) */ void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical, bio_end_io_t callback, vdo_action_fn error_handler, - unsigned int operation, char *data) + blk_opf_t operation, char *data) { int result; struct vdo_completion *completion = &vio->completion; |