[gerg-m68knommu:dt 5/14] drivers/gpu/drm/tegra/hdmi.h:122:9: warning: "ACR_ENABLE" redefined

kernel test robot <[email protected]> Fri, 14 Mar 2025 14:27:42 +0800
Newsgroups gmane.linux.ports.m68k,gmane.linux.uclinux.devel
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git dt
head:   91b4bcf6b8709da81124749743327c60b904fef8
commit: 0cc1fe544a742bcb4a96a404bab84d5cd4d789c4 [5/14] m68k: coldfire: enable common clock framework
config: m68k-randconfig-r123-20250314 (https://download.01.org/0day-ci/archive/20250314/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250314/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/tegra/hdmi.c:35:
>> drivers/gpu/drm/tegra/hdmi.h:122:9: warning: "ACR_ENABLE" redefined
     122 | #define ACR_ENABLE         (1 << 31)
         |         ^~~~~~~~~~
   In file included from arch/m68k/include/asm/m5441xsim.h:19,
                    from arch/m68k/include/asm/mcfsim.h:48,
                    from arch/m68k/include/asm/io_no.h:35,
                    from arch/m68k/include/asm/io.h:6,
                    from include/linux/io.h:14,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from ./arch/m68k/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from include/linux/kernel_stat.h:8,
                    from include/linux/cgroup.h:26,
                    from include/linux/memcontrol.h:13,
                    from include/linux/swap.h:9,
                    from include/linux/suspend.h:5,
                    from include/linux/regulator/consumer.h:35,
                    from drivers/gpu/drm/tegra/hdmi.c:17:
   arch/m68k/include/asm/m54xxacr.h:34:9: note: this is the location of the previous definition
      34 | #define ACR_ENABLE      0x00008000      /* Enable address */
         |         ^~~~~~~~~~


vim +/ACR_ENABLE +122 drivers/gpu/drm/tegra/hdmi.h

edec4af4c3d6d22 Thierry Reding 2012-11-15  119  
edec4af4c3d6d22 Thierry Reding 2012-11-15  120  #define ACR_SUBPACK_CTS(x) (((x) & 0xffffff) << 8)
edec4af4c3d6d22 Thierry Reding 2012-11-15  121  #define ACR_SUBPACK_N(x)   (((x) & 0xffffff) << 0)
edec4af4c3d6d22 Thierry Reding 2012-11-15 @122  #define ACR_ENABLE         (1 << 31)
edec4af4c3d6d22 Thierry Reding 2012-11-15  123  

:::::: The code at line 122 was first introduced by commit
:::::: edec4af4c3d6d225578290a9acc38c78147df55b drm: tegra: Add HDMI support

:::::: TO: Thierry Reding <[email protected]>
:::::: CC: Dave Airlie <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki