summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-05-20 13:50:39 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-16 23:35:10 +1000
commit9134806e149ebb214f122f0f84254096d3768bb2 (patch)
tree8eb9efef1352c40db030b1982c71fce48b57ec40 /arch/powerpc/lib/code-patching.c
parentb3a9e523237013477bea914b7fbfbe420428b988 (diff)
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 <christophe.leroy@csgroup.eu> [mpe: Use u32 * instead of unsigned int *] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 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