diff options
| author | Luc Van Oostenryck <[email protected]> | 2019-01-18 14:49:36 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-02-11 07:02:15 +0000 |
| commit | 99687cdbb3f6c8e32bcc7f37496e811f30460e48 (patch) | |
| tree | 9a02f355c449dcbd4c53e625c209e8f8c6e026eb /drivers/fpga/zynqmp-fpga.c | |
| parent | sched/fair: Simplify post_init_entity_util_avg() by calling it with a task_st... (diff) | |
| download | kernel-99687cdbb3f6c8e32bcc7f37496e811f30460e48.tar.gz kernel-99687cdbb3f6c8e32bcc7f37496e811f30460e48.zip | |
sched/topology: Fix percpu data types in struct sd_data & struct s_data
The percpu members of struct sd_data and s_data are declared as:
struct ... ** __percpu member;
So their type is:
__percpu pointer to pointer to struct ...
But looking at how they're used, their type should be:
pointer to __percpu pointer to struct ...
and they should thus be declared as:
struct ... * __percpu *member;
So fix the placement of '__percpu' in the definition of these
structures.
This addresses a bunch of Sparse's warnings like:
warning: incorrect type in initializer (different address spaces)
expected void const [noderef] <asn:3> *__vpp_verify
got struct sched_domain **
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions
