Re: [PATCH v7 3/4] iommufd: Add IOMMU_GET_HW_INFO
From: Nicolin Chen
Date: Tue Aug 15 2023 - 14:59:34 EST
On Tue, Aug 15, 2023 at 03:56:37PM -0300, Jason Gunthorpe wrote:
> 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 :)
Ack. I will see what I can do.