sh: missing break statement
Subsystems (2)
PATCH 1/1 sh: missing break statement
SH_BREAKPOINT_READ doesn't work because of the missing break in this switch statement.
Fixes 09a072947791 ('sh: hw-breakpoints: Add preliminary support for SH-4A UBC.')
Signed-off-by Dan Carpenter <[email protected]>
arch/sh/kernel/hw_breakpoint.c +1 -0
@@ -160,6 +160,7 @@ int arch_bp_generic_fields(int sh_len, int sh_type,switch (sh_type) {case SH_BREAKPOINT_READ : *gen_type =HW_BREAKPOINT_R ; +break ;case SH_BREAKPOINT_WRITE : *gen_type =HW_BREAKPOINT_W ;break ;