diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2023-10-03 13:34:54 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-10-23 13:07:36 -0400 |
commit | 34dbaa88cab121437d711bb7b9673c16eed4f922 (patch) | |
tree | 2c8bbe9ca5483c37af7e90fdc433fa23ca6d1fd6 /drivers/md/dm.c | |
parent | 18ac52332959aaf4bee54ee1b760959beeb13ae2 (diff) |
dm: make __send_duplicate_bios return unsigned int
All the callers cast the value returned by __send_duplicate_bios to
unsigned int type, so we can return unsigned int as well.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index ab7dd8ab51d1..1113a8da3c47 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1506,8 +1506,8 @@ static void alloc_multiple_bios(struct bio_list *blist, struct clone_info *ci, } } -static int __send_duplicate_bios(struct clone_info *ci, struct dm_target *ti, - unsigned int num_bios, unsigned int *len) +static unsigned int __send_duplicate_bios(struct clone_info *ci, struct dm_target *ti, + unsigned int num_bios, unsigned int *len) { struct bio_list blist = BIO_EMPTY_LIST; struct bio *clone; |