From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Petr Tesarik <ptesarik@suse.com>, Robin Murphy <robin.murphy@arm.com>
Cc: "open list:DMA MAPPING HELPERS" <iommu@lists.linux.dev>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dma-direct: clean up the logic in __dma_direct_alloc_pages()
Date: Mon, 11 Aug 2025 13:29:05 +0200 [thread overview]
Message-ID: <2d20d625-065d-455e-a559-9d192b56dc55@samsung.com> (raw)
In-Reply-To: <20250710083829.1853466-1-ptesarik@suse.com>
On 10.07.2025 10:38, Petr Tesarik wrote:
> Convert a goto-based loop to a while() loop. To allow the simplification,
> return early when allocation from CMA is successful. As a bonus, this early
> return avoids a repeated dma_coherent_ok() check.
>
> No functional change.
>
> Signed-off-by: Petr Tesarik <ptesarik@suse.com>
Thanks, applied to dma-mapping-for-next branch.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
prev parent reply other threads:[~2025-08-11 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250710083845eucas1p26704ee50d9c05b0689ff17a1f8a1fca5@eucas1p2.samsung.com>
2025-07-10 8:38 ` Petr Tesarik
2025-08-11 11:29 ` Marek Szyprowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d20d625-065d-455e-a559-9d192b56dc55@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=iommu@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=ptesarik@suse.com \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®