[arm-platforms:irq/gpio-handler-data 25/37] drivers/iommu/apple-dart.c:186:37: error: 'apple_dart_tlb_ops' defined but not used

Marc Zyngier maz at kernel.org
Thu Sep 30 05:47:28 PDT 2021


On Thu, 30 Sep 2021 12:31:43 +0100,
kernel test robot <lkp at intel.com> wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/gpio-handler-data
> head:   abe5890b12c34b929be59373a9b78d937b9bf290
> commit: 91ce249c740186beca41a68c55c3d637e7b0dad7 [25/37] iommu/dart: Remove iommu_flush_ops
> config: arc-allyesconfig (attached as .config)
> compiler: arceb-elf-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=91ce249c740186beca41a68c55c3d637e7b0dad7
>         git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
>         git fetch --no-tags arm-platforms irq/gpio-handler-data
>         git checkout 91ce249c740186beca41a68c55c3d637e7b0dad7
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> 
> All errors (new ones prefixed by >>):
> 
> >> drivers/iommu/apple-dart.c:186:37: error: 'apple_dart_tlb_ops' defined but not used [-Werror=unused-const-variable=]
>      186 | static const struct iommu_flush_ops apple_dart_tlb_ops;
>          |                                     ^~~~~~~~~~~~~~~~~~
>    cc1: all warnings being treated as errors

[...]

Time to take this branch down, as it was only there to prototype stuff.

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list