m68k: coldfire: Prefer unsigned int to bare use of unsigned
Subsystems (2)
PATCH 1/1 m68k: coldfire: Prefer unsigned int to bare use of unsigned
Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by Jingjing Liu <[email protected]>
--- arch/m68k/coldfire/m520x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/coldfire/m520x.c +1 -1
@@ -106,7 +106,7 @@ static struct clk * const disable_clks[] __initconst = {static void __init m520x_clk_init (void ) { -unsigned i; +unsigned int i;/* make sure these clocks are enabled */ for (i =0 ; i <ARRAY_SIZE (enable_clks); ++i)
Signature · 1 line
2.33.1
Quoted 4 lines · Jingjing Liu
Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'Signed-off-by Jingjing Liu <[email protected]>
As I just wrote elsewhere:
Please don't run checkpatch.pl on code that's already in the kernel. Use it to check your own patches before submitting them.
If you want to practise the patch submission process you can do so in drivers/staging/ where "clean ups" such as this one are currently accepted.
Johan