Re: [PATCH v2 4/7] kdb: Merge identical case statements in kdb_read()

From: Doug Anderson
Date: Mon Apr 22 2024 - 19:52:58 EST


Hi,

On Mon, Apr 22, 2024 at 9:38 AM Daniel Thompson
<daniel.thompson@xxxxxxxxxx> wrote:
>
> The code that handles case 14 (down) and case 16 (up) has been copy and
> pasted despite being byte-for-byte identical. Combine them.
>
> Cc: stable@xxxxxxxxxxxxxxx # Not a bug fix but it is needed for later bug fixes
> Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> ---
> kernel/debug/kdb/kdb_io.c | 10 +---------
> 1 file changed, 1 insertion(+), 9 deletions(-)

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>