[PATCH] powerpc: kgdb: Remove OUTBUFMAX constant

Miquel Sabaté Solà posted 1 patch 2 weeks, 2 days ago
arch/powerpc/include/asm/kgdb.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] powerpc: kgdb: Remove OUTBUFMAX constant
Posted by Miquel Sabaté Solà 2 weeks, 2 days ago
This constant was introduced in commit 17ce452f7ea3 ("kgdb, powerpc:
arch specific powerpc kgdb support"), but it is no longer used anywhere
in the source tree.

Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
---
 arch/powerpc/include/asm/kgdb.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgdb.h
index 715c18b75334..4c0afde87e97 100644
--- a/arch/powerpc/include/asm/kgdb.h
+++ b/arch/powerpc/include/asm/kgdb.h
@@ -25,7 +25,6 @@
 
 #define BREAK_INSTR_SIZE	4
 #define BUFMAX			((NUMREGBYTES * 2) + 512)
-#define OUTBUFMAX		((NUMREGBYTES * 2) + 512)
 
 #define BREAK_INSTR		0x7d821008	/* twge r2, r2 */
 
-- 
2.51.0

Re: [PATCH] powerpc: kgdb: Remove OUTBUFMAX constant
Posted by Miquel Sabaté Solà 3 days, 4 hours ago
Miquel Sabaté Solà @ 2025-09-15 16:18 +02:

> This constant was introduced in commit 17ce452f7ea3 ("kgdb, powerpc:
> arch specific powerpc kgdb support"), but it is no longer used anywhere
> in the source tree.
>
> Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
> ---
>  arch/powerpc/include/asm/kgdb.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgdb.h
> index 715c18b75334..4c0afde87e97 100644
> --- a/arch/powerpc/include/asm/kgdb.h
> +++ b/arch/powerpc/include/asm/kgdb.h
> @@ -25,7 +25,6 @@
>
>  #define BREAK_INSTR_SIZE	4
>  #define BUFMAX			((NUMREGBYTES * 2) + 512)
> -#define OUTBUFMAX		((NUMREGBYTES * 2) + 512)
>
>  #define BREAK_INSTR		0x7d821008	/* twge r2, r2 */

Gently ping :)