diff options
| author | Christophe Leroy <[email protected]> | 2021-05-20 13:50:39 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-06-16 13:35:10 +0000 |
| commit | 9134806e149ebb214f122f0f84254096d3768bb2 (patch) | |
| tree | 8eb9efef1352c40db030b1982c71fce48b57ec40 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/inst: Fix sparse detection on get_user_instr() (diff) | |
| download | kernel-9134806e149ebb214f122f0f84254096d3768bb2.tar.gz kernel-9134806e149ebb214f122f0f84254096d3768bb2.zip | |
powerpc/inst: Reduce casts in get_user_instr()
Declare __gui_ptr as 'u32 *' instead of casting it at each use to
'unsigned int *' (which is an equivalent type).
Signed-off-by: Christophe Leroy <[email protected]>
[mpe: Use u32 * instead of unsigned int *]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/2c2123998e05535d08ba03a96ea1eea921d06a86.1621516826.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
