[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3NpjbXkcb3wfZcQ@infradead.org>
Date: Tue, 15 Nov 2022 02:27:25 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: nirmal.patel@...ux.intel.com, jonathan.derrick@...ux.dev,
lpieralisi@...nel.org, robh@...nel.org, kw@...ux.com,
bhelgaas@...gle.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] PCI: vmd: Clean up some inconsistent indenting
On Tue, Nov 15, 2022 at 01:48:47PM +0800, Jiapeng Chong wrote:
> + if (vmd->irq_domain)
> + vmd_set_msi_remapping(vmd, true);
> + else
> + vmd_set_msi_remapping(vmd, false);
Why not go one step further:
vmd_set_msi_remapping(vmd, !!vmd->irq_domain);
?
Powered by blists - more mailing lists