Files
android_kernel_xiaomi_sm8450/drivers/hwtracing
Qais Yousef 9905016d1b ANDROID: arm64: coresight: Fix a sparse warning
A bunch of these sparse warnings were reported:

	>> drivers/hwtracing/coresight/coresight-trbe.c:134:10: sparse: sparse:
	incorrect type in initializer (different address spaces) @@     expected void
	const [noderef] __percpu *__vpp_verify @@     got struct perf_output_handle
	[noderef] __percpu ** @@
	   drivers/hwtracing/coresight/coresight-trbe.c:134:10: sparse:     expected
	void const [noderef] __percpu *__vpp_verify
	   drivers/hwtracing/coresight/coresight-trbe.c:134:10: sparse:     got struct
	perf_output_handle [noderef] __percpu **

Which is complaining about mismatch between __percpu type passed and
expected. It wants '* __percpu *'.

Bug: 174685394
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Change-Id: Id87eac99913074b6d542822bd2b7fbdcb0da7b8a
2021-04-09 18:38:38 +00:00
..