[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YlQ6feP5Dd9Ux18Y@infradead.org>
Date: Mon, 11 Apr 2022 07:26:05 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Lu Baolu <baolu.lu@...ux.intel.com>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] iommu/vt-d: Change return type of
dmar_insert_one_dev_info()
On Sat, Apr 09, 2022 at 09:30:06PM +0800, Lu Baolu wrote:
> The dmar_insert_one_dev_info() returns the pass-in domain on success and
> NULL on failure. This doesn't make much sense. Change it to an integer.
Looks sensibel. Why not also merge it with domain_add_dev_info while
you're at it?
Powered by blists - more mailing lists