mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
common/console.c: Small coding style cleanup
Change some comments to match the U-Boot coding style rules. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -566,7 +566,8 @@ int printf(const char *fmt, ...)
|
|||||||
|
|
||||||
va_start(args, 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.
|
* anything we ever want to print.
|
||||||
*/
|
*/
|
||||||
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
||||||
@@ -582,7 +583,8 @@ int vprintf(const char *fmt, va_list args)
|
|||||||
uint i;
|
uint i;
|
||||||
char printbuffer[CONFIG_SYS_PBSIZE];
|
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.
|
* anything we ever want to print.
|
||||||
*/
|
*/
|
||||||
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
|
||||||
|
Reference in New Issue
Block a user