[PATCH] powerpc/8xx: Fix warning in hw_breakpoint_handler()
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Nov 30 20:24:12 AEDT 2022
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 set it to make the compiler happy.
>
>
Applied to powerpc/next.
[1/1] powerpc/8xx: Fix warning in hw_breakpoint_handler()
https://git.kernel.org/powerpc/c/f668027521561d1071ccf54500c82a58a1918b2b
cheers
More information about the Linuxppc-dev
mailing list