Thread (2 messages) 2 messages, 2 authors, 2021-09-30

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

flat view

From: Marc Zyngier <maz@kernel.org>
Date: 2021-09-30 12:49:50
Also in: oe-kbuild-all

On Thu, 30 Sep 2021 12:31:43 +0100,
kernel test robot [off-list ref] 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 <redacted>

All errors (new ones prefixed by >>):
quoted
quoted
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.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help