[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZNvKZWcqrjp34zpe@nvidia.com>
Date: Tue, 15 Aug 2023 15:56:37 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: Yi Liu <yi.l.liu@...el.com>, joro@...tes.org,
alex.williamson@...hat.com, kevin.tian@...el.com,
robin.murphy@....com, baolu.lu@...ux.intel.com, cohuck@...hat.com,
eric.auger@...hat.com, kvm@...r.kernel.org, mjrosato@...ux.ibm.com,
chao.p.peng@...ux.intel.com, yi.y.sun@...ux.intel.com,
peterx@...hat.com, jasowang@...hat.com,
shameerali.kolothum.thodi@...wei.com, lulu@...hat.com,
suravee.suthikulpanit@....com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
zhenzhong.duan@...el.com
Subject: Re: [PATCH v7 3/4] iommufd: Add IOMMU_GET_HW_INFO
On Tue, Aug 15, 2023 at 11:53:26AM -0700, Nicolin Chen wrote:
> > ops = dev_iommu_ops(idev->dev);
> > if (!ops->hw_info) {
> > data = ops->hw_info(idev->dev, &data_len, &cmd->out_data_type);
>
> It should be:
> if (ops->hw_info) {
Hmm, the test suite probably needs some more stuff then too since it
passed like that :)
Jason
Powered by blists - more mailing lists