lkml.org 
[lkml]   [2024]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: warning: cast removes address space '__percpu' of expression
Am Sa., 30. März 2024 um 00:56 Uhr schrieb Charlemagne Lasse
<charlemagnelasse@gmail.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

\
 
 \ /
  Last update: 2024-05-27 16:17    [W:0.053 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site