diff options
author | Luc Van Oostenryck <[email protected]> | 2019-03-07 16:31:28 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-03-07 18:32:03 -0800 |
commit | 62461ac2e5b6520b6d65fc6d7d7b4b8df4b848d8 (patch) | |
tree | 2b9d6a81f510d3c8d515bd78acf526a41c42e0d8 /scripts/gdb/linux/clk.py | |
parent | 9587d19924fac141c9aa8e726b45adbd360187d9 (diff) |
include/linux/relay.h: fix percpu annotation in struct rchan
The percpu member of this structure is declared as:
struct ... ** __percpu member;
So its type is:
__percpu pointer to pointer to struct ...
But looking at how it's used, its type should be:
pointer to __percpu pointer to struct ...
and it should thus be declared as:
struct ... * __percpu *member;
So fix the placement of '__percpu' in the definition of this
structures.
This silents a few Sparse's warnings like:
warning: incorrect type in initializer (different address spaces)
expected void const [noderef] <asn:3> *__vpp_verify
got struct sched_domain **
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 017c59c042d01 ("relay: Use per CPU constructs for the relay channel buffer pointers")
Signed-off-by: Luc Van Oostenryck <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions