All of lore.kernel.org
 help / color / mirror / Atom feed
* more int return value cleanup for blkdev.h helpers
@ 2024-11-19 16:09 Christoph Hellwig
  2024-11-19 16:09 ` [PATCH 1/6] block: return unsigned int from bdev_io_opt Christoph Hellwig
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Christoph Hellwig @ 2024-11-19 16:09 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

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(-)

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-11-20  2:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 16:09 more int return value cleanup for blkdev.h helpers Christoph Hellwig
2024-11-19 16:09 ` [PATCH 1/6] block: return unsigned int from bdev_io_opt Christoph Hellwig
2024-11-19 16:27   ` John Garry
2024-11-19 16:09 ` [PATCH 2/6] block: return unsigned int from queue_dma_alignment Christoph Hellwig
2024-11-19 16:28   ` John Garry
2024-11-19 16:09 ` [PATCH 3/6] block: return unsigned int from blk_lim_dma_alignment_and_pad Christoph Hellwig
2024-11-19 16:29   ` John Garry
2024-11-19 16:09 ` [PATCH 4/6] block: return bool from blk_rq_aligned Christoph Hellwig
2024-11-19 16:34   ` John Garry
2024-11-19 16:37     ` Christoph Hellwig
2024-11-19 16:09 ` [PATCH 5/6] block: remove a duplicate definition for bdev_read_only Christoph Hellwig
2024-11-19 16:32   ` John Garry
2024-11-19 16:09 ` [PATCH 6/6] block: return bool from get_disk_ro and bdev_read_only Christoph Hellwig
2024-11-19 16:37   ` John Garry
2024-11-19 16:38 ` more int return value cleanup for blkdev.h helpers Martin K. Petersen
2024-11-19 16:58 ` Johannes Thumshirn
2024-11-20  2:07 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.