Re: [PATCH] powerpc/8xx: Fix warning in hw_breakpoint_handler()

2022-11-30 Thread Michael Ellerman
On Mon, 24 Oct 2022 15:13:46 +1100, Russell Currey wrote: > In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except > for 8xx, leading the variable to be passed uninitialised to > wp_check_constraints(). This is safe as wp_check_constraints() returns > early without using ea, so just

Re: [PATCH] powerpc/8xx: Fix warning in hw_breakpoint_handler()

2022-11-03 Thread Christophe Leroy
Le 24/10/2022 à 06:13, Russell Currey a écrit : > In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except > for 8xx, leading the variable to be passed uninitialised to > wp_check_constraints(). This is safe as wp_check_constraints() returns > early without using ea, so just set it

[PATCH] powerpc/8xx: Fix warning in hw_breakpoint_handler()

2022-10-23 Thread Russell Currey
In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except for 8xx, leading the variable to be passed uninitialised to wp_check_constraints(). This is safe as wp_check_constraints() returns early without using ea, so just set it to make the compiler happy. Signed-off-by: Russell Currey