[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4526ca31-71a4-4b3f-b378-32546eb8133d@amd.com>
Date: Mon, 12 Jan 2026 10:59:55 +0530
From: Vasant Hegde <vasant.hegde@....com>
To: Can Peng <pengcan@...inos.cn>, joro@...tes.org, will@...nel.org,
robin.murphy@....com, Markus.Elfring@....de
Cc: iommu@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iommu: simplify list initialization in
iommu_create_device_direct_mappings() and iommu_group_show_resv_regions()
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@...inos.cn>
Patch looks good.
Reviewed-by: Vasant Hegde <vasant.hegde@....com>
-Vasant
Powered by blists - more mailing lists