[U-Boot] [PATCH 2/4 v2] common/console.c: Small coding style cleanup

Stefan Roese sr at denx.de
Mon Nov 16 15:26:32 CET 2015


Change some comments to match the U-Boot coding style rules.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Simon Glass <sjg at chromium.org>
---
v2:
- new patch

 common/console.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/console.c b/common/console.c
index 6fd7a10..cf86b76 100644
--- a/common/console.c
+++ b/common/console.c
@@ -543,7 +543,8 @@ int printf(const char *fmt, ...)
 
 	va_start(args, fmt);
 
-	/* For this to work, printbuffer must be larger than
+	/*
+	 * For this to work, printbuffer must be larger than
 	 * anything we ever want to print.
 	 */
 	i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
@@ -559,7 +560,8 @@ int vprintf(const char *fmt, va_list args)
 	uint i;
 	char printbuffer[CONFIG_SYS_PBSIZE];
 
-	/* For this to work, printbuffer must be larger than
+	/*
+	 * For this to work, printbuffer must be larger than
 	 * anything we ever want to print.
 	 */
 	i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
-- 
2.6.3



More information about the U-Boot mailing list