mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vasant Hegde <vasant.hegde@amd.com>
To: Can Peng <pengcan@kylinos.cn>,
	joro@8bytes.org, will@kernel.org, robin.murphy@arm.com,
	Markus.Elfring@web.de
Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iommu: simplify list initialization in iommu_create_device_direct_mappings() and iommu_group_show_resv_regions()
Date: Mon, 12 Jan 2026 10:59:55 +0530	[thread overview]
Message-ID: <4526ca31-71a4-4b3f-b378-32546eb8133d@amd.com> (raw)
In-Reply-To: <20260112032116.49781-1-pengcan@kylinos.cn>

On 1/12/2026 8:51 AM, Can Peng wrote:
> Use LIST_HEAD() to declare and initialize list heads in both
> iommu_create_device_direct_mappings() and iommu_group_show_resv_regions()
> instead of separate declaration and INIT_LIST_HEAD(). This simplifies the
> code by combining declaration and initialization into a single idiomatic
> form, improving readability without changing functionality.
> 
> Signed-off-by: Can Peng <pengcan@kylinos.cn>

Patch looks good.

Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>

-Vasant


  reply	other threads:[~2026-01-12  5:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  3:21 Can Peng
2026-01-12  5:29 ` Vasant Hegde [this message]
2026-01-12 12:30 ` Markus Elfring
2026-01-13 10:04   ` Vasant Hegde

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=4526ca31-71a4-4b3f-b378-32546eb8133d@amd.com \
    --to=vasant.hegde@amd.com \
    --cc=Markus.Elfring@web.de \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pengcan@kylinos.cn \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /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®