public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* remove the dma_set_{max_seg_size,seg_boundary,min_align_mask} return value
@ 2024-07-23  0:05 Christoph Hellwig
  2024-07-23  0:05 ` [PATCH 1/3] dma-mapping: don't return errors from dma_set_min_align_mask Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Christoph Hellwig @ 2024-07-23  0:05 UTC (permalink / raw)
  To: Robin Murphy, Marek Szyprowski; +Cc: iommu, linux-kernel

Hi all,

the above three functions can only return errors if the bus code failed
to allocate the dma_parms structure, which is a grave error that won't
get us far.  Thus remove the pointless return values, that so far have
fortunately been mostly ignored, but which the cleanup brigade now wants
to check for for no good reason.

I'd love to get this in after -rc1 so that we can catch any of those
cleanups that might be queued up for this merge window.

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

end of thread, other threads:[~2024-08-02 11:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23  0:05 remove the dma_set_{max_seg_size,seg_boundary,min_align_mask} return value Christoph Hellwig
2024-07-23  0:05 ` [PATCH 1/3] dma-mapping: don't return errors from dma_set_min_align_mask Christoph Hellwig
2024-07-23  0:05 ` [PATCH 2/3] dma-mapping: don't return errors from dma_set_seg_boundary Christoph Hellwig
2024-08-01 12:00   ` Marek Szyprowski
2024-08-01 12:36     ` Robin Murphy
2024-08-01 13:33       ` Christoph Hellwig
2024-08-02 11:53         ` Robin Murphy
2024-07-23  0:05 ` [PATCH 3/3] dma-mapping: don't return errors from dma_set_max_seg_size Christoph Hellwig
2024-07-30 13:13 ` remove the dma_set_{max_seg_size,seg_boundary,min_align_mask} return value Robin Murphy
2024-07-30 15:20   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox