* [linusw-pinctrl:devel 8/20] drivers/pinctrl/freescale/pinctrl-imx1.c:17:9: warning: "PC" redefined
@ 2024-10-02 1:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-02 1:58 UTC (permalink / raw)
To: Esben Haabendal; +Cc: oe-kbuild-all, linux-gpio, Linus Walleij
Hi Esben,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head: d1c7bf9cb31a8e3868c5eaf3ec05b79aba4d2e33
commit: a55222b7a1327fabad71e1e61661077ab66bb98d [8/20] pinctrl: freescale: enable use with COMPILE_TEST
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20241002/202410020940.wGISlWfV-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410020940.wGISlWfV-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/202410020940.wGISlWfV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/freescale/pinctrl-imx1.c:17:9: warning: "PC" redefined
17 | #define PC 2
| ^~
In file included from arch/loongarch/include/asm/processor.h:17,
from arch/loongarch/include/asm/thread_info.h:15,
from include/linux/thread_info.h:60,
from include/asm-generic/current.h:6,
from ./arch/loongarch/include/generated/asm/current.h:1,
from include/linux/mutex.h:14,
from include/linux/kernfs.h:11,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:18,
from drivers/pinctrl/freescale/pinctrl-imx1.c:8:
arch/loongarch/include/uapi/asm/ptrace.h:25:9: note: this is the location of the previous definition
25 | #define PC (GPR_END + 2)
| ^~
--
>> drivers/pinctrl/freescale/pinctrl-imx27.c:21:9: warning: "PC" redefined
21 | #define PC 2
| ^~
In file included from arch/loongarch/include/asm/processor.h:17,
from arch/loongarch/include/asm/thread_info.h:15,
from include/linux/thread_info.h:60,
from include/asm-generic/current.h:6,
from ./arch/loongarch/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/platform_device.h:13,
from drivers/pinctrl/freescale/pinctrl-imx27.c:13:
arch/loongarch/include/uapi/asm/ptrace.h:25:9: note: this is the location of the previous definition
25 | #define PC (GPR_END + 2)
| ^~
vim +/PC +17 drivers/pinctrl/freescale/pinctrl-imx1.c
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 13
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 14 #define PAD_ID(port, pin) ((port) * 32 + (pin))
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 15 #define PA 0
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 16 #define PB 1
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 @17 #define PC 2
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 18 #define PD 3
4877e51ed791ac drivers/pinctrl/pinctrl-imx1.c Alexander Shiyan 2014-06-03 19
:::::: The code at line 17 was first introduced by commit
:::::: 4877e51ed791ac0098471d547f9f8f84c147e1c6 pinctrl: Add i.MX1 pincontrol driver
:::::: TO: Alexander Shiyan <shc_work@mail.ru>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-02 1:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 1:58 [linusw-pinctrl:devel 8/20] drivers/pinctrl/freescale/pinctrl-imx1.c:17:9: warning: "PC" redefined kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).