Re: [PATCH v7 3/4] iommufd: Add IOMMU_GET_HW_INFO
From: Jason Gunthorpe
Date: Tue Aug 15 2023 - 14:58:31 EST
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