treewide: Complete variable type
PATCH 1/1 treewide: Complete variable type
It is better to use "unsigned int" instead of "unsigned", line 24.
Signed-off-by Xin Gao <[email protected]>
--- arch/powerpc/boot/epapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/boot/epapr.c +1 -1
@@ -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;
Signature · 1 line
2.30.2
Le 15/08/2022 à 21:53, Xin Gao a écrit :
Quoted 1 line
It is better to use "unsigned int" instead of "unsigned", line 24.
The Subject in wrong: It is not a treewide patch but only a powerpc patch as far as I understand.
Christophe
Quoted 22 lines
Signed-off-by Xin Gao <[email protected]>--- arch/powerpc/boot/epapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/boot/epapr.c +1
-2@@ -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