2023-07-12 15:21:49

by Thierry Reding

[permalink] [raw]
Subject: Re: 回复: [PATC H v1] iommu: fix parameter check in tegra_smmu_debugfs_init()

On Wed, Jul 12, 2023 at 12:37:02PM +0000, 杜敏杰 wrote:
> Hi Thierry!
>
> >I think we can just drop the error check altogether since
> >debugfs_create_file() will simply return early if smmu->debugfs is an error pointer.
>
> So do you mean maybe delete the smmu->debugfs check is better?
> Maybe I can resubmit a new patch.

Yes, I think that would be preferable.

Thierry


Attachments:
(No filename) (390.00 B)
signature.asc (849.00 B)
Download all attachments