[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFGhKbxMi1R3bmEOwxu0Xs0DD1NusSWe-Q-XQFhKFaFCHDztBw@mail.gmail.com>
Date: Sat, 30 Mar 2024 18:42:48 +0100
From: Charlemagne Lasse <charlemagnelasse@...il.com>
To: x86@...nel.org, LKML <linux-kernel@...r.kernel.org>,
Luc Van Oostenryck <lucvoo@...nel.org>
Cc: Uros Bizjak <ubizjak@...il.com>, Andy Lutomirski <luto@...nel.org>, Ingo Molnar <mingo@...nel.org>,
Nadav Amit <namit@...are.com>, Brian Gerst <brgerst@...il.com>,
Denys Vlasenko <dvlasenk@...hat.com>, "H . Peter Anvin" <hpa@...or.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...en8.de>, Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: warning: cast removes address space '__percpu' of expression
Am Sa., 30. März 2024 um 00:56 Uhr schrieb Charlemagne Lasse
<charlemagnelasse@...il.com>:
>
> After switching to linux 6.9-rc1, I get a lot of these errors (when
> compiling with cgcc/sparse):
>
> ./include/linux/netdevice.h:4033:17: warning: cast removes address
> space '__percpu' of expression
>
> This is around code which wasn't changed and which correctly uses the
> per cpu helper. Sparse flags were -Wsparse-all for sparse 0.6.4
> (latest release).
[snip]
This also happens with the newest sparse commit
0196afe16a50c76302921b139d412e82e5be2349
Powered by blists - more mailing lists