Files
kernel_google_b1c1/include/linux
Sebastian Andrzej Siewior a5f3559f30 smpboot: Place the __percpu annotation correctly
[ Upstream commit d4645d30b50d1691c26ff0f8fa4e718b08f8d3bb ]

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 <lkp@intel.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: f97f8f06a4 ("smpboot: Provide infrastructure for percpu hotplug threads")
Link: http://lkml.kernel.org/r/20190424085253.12178-1-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:48:17 -07:00
..
2019-04-17 08:36:45 +02:00
2019-04-20 09:07:54 +02:00
2017-10-08 10:26:06 +02:00
2018-04-24 09:34:18 +02:00
2018-02-28 10:18:33 +01:00
2019-03-23 13:19:52 +01:00
2018-04-24 09:34:12 +02:00
2018-10-10 08:53:18 +02:00
2019-05-10 17:52:09 +02:00
2019-04-17 08:36:39 +02:00
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2017-12-25 14:23:37 +01:00
2018-12-05 19:42:42 +01:00