Re: [PATCH v2 6/8] clocksource: realtek: Add timer driver for rtl-otto platforms

kernel test robot
2024-06-26T21:23:03Z

Hi Chris,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on tip/timers/core tip/irq/core tip/smp/core linus/master v6.10-rc5 next-20240625]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Chris-Packham/mips-dts-realtek-use-serial-instead-of-uart-in-node-name/20240626-054938
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20240624012300.1713290-7-chris.packham%40alliedtelesis.co.nz
patch subject: [PATCH v2 6/8] clocksource: realtek: Add timer driver for rtl-otto platforms
config: m68k-randconfig-r081-20240627 (https://download.01.org/0day-ci/archive/20240627/202406270511.czjiMAQk-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240627/202406270511.czjiMAQk-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406270511.czjiMAQk-lkp@intel.com/

All warnings (new ones prefixed by >>):

In file included from drivers/gpu/drm/tegra/hdmi.c:35:
>> drivers/gpu/drm/tegra/hdmi.h:122: warning: "ACR_ENABLE" redefined
122 | #define ACR_ENABLE (1 << 31)
|
In file included from arch/m68k/include/asm/m520xsim.h:19,
from arch/m68k/include/asm/mcfsim.h:24,
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:9,
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/m52xxacr.h:47: note: this is the location of the previous definition
47 | #define ACR_ENABLE 0x00008000 /* Enable this ACR */
|

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for COMMON_CLK
Depends on [n]: !HAVE_LEGACY_CLK [=y]
Selected by [y]:
- REALTEK_OTTO_TIMER [=y] && GENERIC_CLOCKEVENTS [=y]

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

--
0-DAY CI Kernel Test Service