diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2019-04-24 10:52:53 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-04-24 12:17:08 +0200 |
commit | d4645d30b50d1691c26ff0f8fa4e718b08f8d3bb (patch) | |
tree | 23feedb73bf7aab415e01e5fd278d7459dd3cdba /scripts/gdb | |
parent | de7b77e5bb9451417ca57f1b6501da654587c048 (diff) |
smpboot: Place the __percpu annotation correctly
The test robot reported a wrong assignment of a per-CPU variable which
it detected by using sparse and sent a report. The assignment itself is
correct. The annotation for sparse was wrong and hence the report.
The first pointer is a "normal" pointer and points to the per-CPU memory
area. That means that the __percpu annotation has to be moved.
Move the __percpu annotation to pointer which points to the per-CPU
area. This change affects only the sparse tool (and is ignored by the
compiler).
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: f97f8f06a49fe ("smpboot: Provide infrastructure for percpu hotplug threads")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions