diff options
| author | Uros Bizjak <[email protected]> | 2024-08-14 08:44:13 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:34 -0700 |
| commit | 16d9691ad4b562ea19271f0788738f649c02cf3c (patch) | |
| tree | 173639cf640fa9d604b0dffa3042eef93e7c61f0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cbf164cd44e06c78938b4a4a4479d3541779c319 (diff) | |
lib/percpu_counter: add missing __percpu qualifier to a cast
Add missing __percpu qualifier to a (void *) cast to fix
percpu_counter.c:212:36: warning: cast removes address space '__percpu' of expression
percpu_counter.c:212:33: warning: incorrect type in assignment (different address spaces)
percpu_counter.c:212:33: expected signed int [noderef] [usertype] __percpu *counters
percpu_counter.c:212:33: got void *
sparse warnings.
Found by GCC's named address space checks.
There were no changes in the resulting object file.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Uros Bizjak <[email protected]>
Cc: Dennis Zhou <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions