* [U-Boot] [PATCH 5/5] samsung: clean up checkpatch issues
@ 2015-10-23 8:32 Minkyu Kang
2015-11-02 5:39 ` Minkyu Kang
0 siblings, 1 reply; 2+ messages in thread
From: Minkyu Kang @ 2015-10-23 8:32 UTC (permalink / raw)
To: u-boot
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 <mk7.kang@samsung.com>
---
board/samsung/common/misc.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index e0e2c48..e46c6c6 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -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)
--
1.7.9.5
--
Thanks,
Minkyu Kang.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 5/5] samsung: clean up checkpatch issues
2015-10-23 8:32 [U-Boot] [PATCH 5/5] samsung: clean up checkpatch issues Minkyu Kang
@ 2015-11-02 5:39 ` Minkyu Kang
0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2015-11-02 5:39 UTC (permalink / raw)
To: u-boot
On 23/10/15 17:32, Minkyu Kang wrote:
> 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 <mk7.kang@samsung.com>
> ---
> board/samsung/common/misc.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-02 5:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23 8:32 [U-Boot] [PATCH 5/5] samsung: clean up checkpatch issues Minkyu Kang
2015-11-02 5:39 ` Minkyu Kang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.