samsung: clean up checkpatch issues
PATCH 5/5 samsung: clean up checkpatch issues
This patch will fix these checkpatch issues.
CHECK: Alignment should match open parenthesis
+ printf("Enter: %s %s\n", mode_name[mode][0],
+ mode_info[mode]);
CHECK: Alignment should match open parenthesis
+ lcd_printf("\n\n\t%s %s\n", mode_name[mode][0],
+ mode_info[mode]);
CHECK: Alignment should match open parenthesis
+ lcd_printf("\t%s %s - %s\n\n", selection[i],
+ mode_name[i][0],
Signed-off-by Minkyu Kang <[email protected]>
--- board/samsung/common/misc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
board/samsung/common/misc.c +3 -4
@@ -256,9 +256,9 @@ static int mode_leave_menu(int mode) cmd =find_cmd (mode_name[mode][1 ]);if (cmd) {printf ("Enter: %s %s\n" , mode_name[mode][0 ], - mode_info[mode]); + mode_info[mode]);lcd_printf ("\n\n\t%s %s\n" , mode_name[mode][0 ], - mode_info[mode]); + mode_info[mode]);lcd_puts ("\n\tDo not turn off device before finish!\n" ); cmd_result =run_command (mode_cmd[mode],0 );
@@ -315,8 +315,7 @@ static void display_download_menu(int mode)for (i =0 ; i <=BOOT_MODE_EXIT ; i++)lcd_printf ("\t%s %s - %s\n\n" , selection[i], - mode_name[i][0 ], - mode_info[i]); + mode_name[i][0 ], mode_info[i]); }static void download_menu (void )
Signature · 5 lines
1.7.9.5 -- Thanks, Minkyu Kang.
PATCH 5/5 samsung: clean up checkpatch issues
Quoted 14 lines · Minkyu Kang
This patch will fix these checkpatch issues.
CHECK: Alignment should match open parenthesis
(quoted diff) +2
-0+ printf("Enter: %s %s\n", mode_name[mode][0], + mode_info[mode]);CHECK: Alignment should match open parenthesis
(quoted diff) +2
-0+ lcd_printf("\n\n\t%s %s\n", mode_name[mode][0], + mode_info[mode]);CHECK: Alignment should match open parenthesis
(quoted diff) +2
-0+ lcd_printf("\t%s %s - %s\n\n", selection[i], + mode_name[i][0],
Quoted 5 lines
Signed-off-by Minkyu Kang <[email protected]>--- board/samsung/common/misc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
applied to u-boot-samsung.
Thanks,
Minkyu Kang.