Re: more int return value cleanup for blkdev.h helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Nov 2024 17:09:17 +0100, Christoph Hellwig wrote:
> as John pointed out there are a bunch more helpers in blkdev.h
> that return int when the underlying value should be unsigned int.
> Thid series fixes those, and also switches those that return boolean
> values to bool and drop a duplicate prototype.
> 
> Diffstat:
>  blkdev.h |   14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> [...]

Applied, thanks!

[1/6] block: return unsigned int from bdev_io_opt
      commit: 5a9d1b83e5334915c651604648c20a9fc64d47a3
[2/6] block: return unsigned int from queue_dma_alignment
      commit: ed5db174cf39374215934f21b04639a7a1513023
[3/6] block: return unsigned int from blk_lim_dma_alignment_and_pad
      commit: e769489a54401d0c89555f7ad8672038b5c2b767
[4/6] block: return bool from blk_rq_aligned
      commit: da77d9b23700708d0d22a4407d32a8755a3596e8
[5/6] block: remove a duplicate definition for bdev_read_only
      commit: e888810bc4f471f85989a0991aff28d2ac9f783b
[6/6] block: return bool from get_disk_ro and bdev_read_only
      commit: 766a71ef65bb217ed8bf1c068ac14c7d3c15d487

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux