diff options
| author | Christophe Leroy <[email protected]> | 2018-10-06 16:51:12 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-13 22:21:25 +1100 |
| commit | 3b35bd48b8a06e02a25af84baba782876b8a6572 (patch) | |
| tree | 3fb42a11174ef25091ba89d32531905da41cc198 /tools/perf/scripts/python | |
| parent | 7241d26e8175e95290a6549a470c330dbfc63442 (diff) | |
powerpc/process: Fix sparse address space warnings
This patch fixes the following warnings, which are leftovers
from when __get_user() was replaced by probe_kernel_address().
arch/powerpc/kernel/process.c:1287:22: warning: incorrect type in argument 2 (different address spaces)
arch/powerpc/kernel/process.c:1287:22: expected void const *src
arch/powerpc/kernel/process.c:1287:22: got unsigned int [noderef] <asn:1>*<noident>
arch/powerpc/kernel/process.c:1319:21: warning: incorrect type in argument 2 (different address spaces)
arch/powerpc/kernel/process.c:1319:21: expected void const *src
arch/powerpc/kernel/process.c:1319:21: got unsigned int [noderef] <asn:1>*<noident>
Fixes: 7b051f665c32d ("powerpc: Use probe_kernel_address in show_instructions")
Reviewed-by: Murilo Opsfelder Araujo <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions