[PATCH] treewide: Complete variable type

Xin Gao gaoxin at cdjrlc.com
Tue Aug 16 05:53:22 AEST 2022


It is better to use "unsigned int" instead of "unsigned", line 24.

Signed-off-by: Xin Gao <gaoxin at cdjrlc.com>
---
 arch/powerpc/boot/epapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/epapr.c b/arch/powerpc/boot/epapr.c
index 7c5b26ade6c4..4133bee28673 100644
--- a/arch/powerpc/boot/epapr.c
+++ b/arch/powerpc/boot/epapr.c
@@ -21,7 +21,7 @@ BSS_STACK(4096);
 #define EPAPR_SMAGIC	0x65504150
 #define EPAPR_EMAGIC	0x45504150
 
-static unsigned epapr_magic;
+static unsigned int epapr_magic;
 static unsigned long ima_size;
 static unsigned long fdt_addr;
 
-- 
2.30.2



More information about the Linuxppc-dev mailing list