[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aP+gHjiZf6jpFTHU@Asurada-Nvidia>
Date: Mon, 27 Oct 2025 09:38:54 -0700
From: Nicolin Chen <nicolinc@...dia.com>
To: kernel test robot <lkp@...el.com>
CC: <will@...nel.org>, <jgg@...dia.com>, <oe-kbuild-all@...ts.linux.dev>,
<jean-philippe@...aro.org>, <robin.murphy@....com>, <joro@...tes.org>,
<balbirs@...dia.com>, <miko.lenczewski@....com>, <peterz@...radead.org>,
<kevin.tian@...el.com>, <praan@...gle.com>,
<linux-arm-kernel@...ts.infradead.org>, <iommu@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 3/7] iommu/arm-smmu-v3: Introduce a per-domain
arm_smmu_invs array
On Mon, Oct 27, 2025 at 08:06:03PM +0800, kernel test robot wrote:
> >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:1062:23: error: static declaration of 'arm_smmu_invs_merge' follows non-static declaration
> 1062 | struct arm_smmu_invs *arm_smmu_invs_merge(struct arm_smmu_invs *invs,
> | ^~~~~~~~~~~~~~~~~~~
> In file included from drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:34:
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:731:23: note: previous declaration of 'arm_smmu_invs_merge' with type 'struct arm_smmu_invs *(struct arm_smmu_invs *, struct arm_smmu_invs *)'
> 731 | struct arm_smmu_invs *arm_smmu_invs_merge(struct arm_smmu_invs *invs,
> | ^~~~~~~~~~~~~~~~~~~
These should be added under "#if IS_ENABLED(CONFIG_KUNIT)" in the
header.
I will fix this and send a v4 today.
Nicolin
Powered by blists - more mailing lists