[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKfTPtC9YgbZgGNK82MhhzzsD3P6j64+w6oieJMDKQNOmrC4FQ@mail.gmail.com>
Date: Wed, 3 Apr 2024 15:26:05 +0200
From: Vincent Guittot <vincent.guittot@...aro.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>,
Linux Regressions <regressions@...ts.linux.dev>, lkft-triage@...ts.linaro.org,
clang-built-linux <llvm@...ts.linux.dev>, Linux PM <linux-pm@...r.kernel.org>,
Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>, linux-riscv@...ts.infradead.org,
Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>
Subject: Re: kernel/sched/core.c:961:15: error: incompatible pointer to
integer conversion passing 'typeof
Hi Naresh,
Adding riscv people
On Wed, 3 Apr 2024 at 09:38, Naresh Kamboju <naresh.kamboju@...aro.org> wrote:
>
> The riscv clang-17 defconfig build failed due to following warnings / errors
> on the Linux next-20240402.
Could you confirm that there is no problem with other arch and/or
other toolchain ?
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> riscv:
> build:
> * clang-17-lkftconfig - Failed
> * rv32-clang-17-defconfig - Failed
> * clang-17-tinyconfig - Failed
> * rv32-clang-17-tinyconfig - Failed
> * clang-17-defconfig - Failed
> * clang-17-allnoconfig - Failed
> * rv32-clang-17-allnoconfig - Failed
>
> Build log:
> -------
> kernel/sched/core.c:961:15: error: incompatible pointer to integer
> conversion passing 'typeof (*((__ai_ptr)))' (aka 'struct wake_q_node
> *') to parameter of type 'uintptr_t' (aka 'unsigned long')
> [-Wint-conversion]
> 961 | if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL)))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is no recent change on this code. Could it be a change in
cmpxchg_relaxed ?
>
> Steps to reproduce:
> ---------
> # tuxmake --runtime podman --target-arch riscv --toolchain clang-17
> --kconfig defconfig LLVM=1 LLVM_IAS=1
>
> Links:
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264917/suite/build/test/clang-17-defconfig/details/
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264917/suite/build/test/clang-17-defconfig/log
>
> --
> Linaro LKFT
> https://lkft.linaro.org
Powered by blists - more mailing lists