]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: return unsigned int from blk_lim_dma_alignment_and_pad
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 16:09:20 +0000 (17:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2024 02:07:13 +0000 (19:07 -0700)
commite769489a54401d0c89555f7ad8672038b5c2b767
treea84b08f348ed96edc7a9219a1e92d0230ac6bbf2
parented5db174cf39374215934f21b04639a7a1513023
block: return unsigned int from blk_lim_dma_alignment_and_pad

The underlying limits are defined as unsigned int, so return that from
blk_lim_dma_alignment_and_pad as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241119160932.1327864-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h