linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next: arm: kernel/watchdog.c:521:36: error: too many arguments to function call, expected 0, have 1
@ 2023-08-07  8:42 Naresh Kamboju
  2023-08-07  8:50 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-08-07  8:42 UTC (permalink / raw)
  To: open list, Linux-Next Mailing List, lkft-triage
  Cc: Arnd Bergmann, Anders Roxell, Michal Hocko, Lecopzer Chen,
	Petr Mladek, Pingfan Liu, Andrew Morton

[ resending in plain text mode. sorry ]

While building arm mxs_defconfig with gcc-12 and clang-16 on
Linux next-20230807 tag the following build regression was found.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

Build log:
--------
kernel/watchdog.c:521:36: error: too many arguments to function call,
expected 0, have 1
                        trigger_allbutcpu_cpu_backtrace(smp_processor_id());
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
include/linux/smp.h:271:29: note: expanded from macro 'smp_processor_id'
# define smp_processor_id() __smp_processor_id()
                            ^~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:264:31: note: expanded from macro '__smp_processor_id'
#define __smp_processor_id(x) raw_smp_processor_id(x)
                              ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:198:34: note: expanded from macro 'raw_smp_processor_id'
#define raw_smp_processor_id()                  0
                                                ^
include/linux/nmi.h:193:20: note: 'trigger_allbutcpu_cpu_backtrace'
declared here
static inline bool trigger_allbutcpu_cpu_backtrace(void)
                   ^
1 error generated.
make[4]: *** [scripts/Makefile.build:243: kernel/watchdog.o] Error 1



Links:
 -  https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/testrun/18858575/suite/build/test/clang-16-mxs_defconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/testrun/18858575/suite/build/test/clang-16-mxs_defconfig/history/

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: next: arm: kernel/watchdog.c:521:36: error: too many arguments to function call, expected 0, have 1
  2023-08-07  8:42 next: arm: kernel/watchdog.c:521:36: error: too many arguments to function call, expected 0, have 1 Naresh Kamboju
@ 2023-08-07  8:50 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2023-08-07  8:50 UTC (permalink / raw)
  To: Naresh Kamboju, open list, linux-next, lkft-triage
  Cc: Anders Roxell, Michal Hocko, Lecopzer Chen, Petr Mladek,
	Pingfan Liu, Andrew Morton

On Mon, Aug 7, 2023, at 10:42, Naresh Kamboju wrote:
> [ resending in plain text mode. sorry ]
>
> While building arm mxs_defconfig with gcc-12 and clang-16 on
> Linux next-20230807 tag the following build regression was found.
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>

I sent a patch when I saw this today, and Andrew already had
the same fix.

     Arnd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-07  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07  8:42 next: arm: kernel/watchdog.c:521:36: error: too many arguments to function call, expected 0, have 1 Naresh Kamboju
2023-08-07  8:50 ` Arnd Bergmann

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).