[U-Boot] [PATCH 2/2] command, log: print log->v2.con value in the "log info" command

Heiko Schocher hs at denx.de
Wed Feb 15 09:21:07 CET 2012


print in the "log info" command, if "log_version = 2" also the
value from "log->v2.con".

Signed-off-by: Heiko Schocher <hs at denx.de>
---
[hs at pollux u-boot]$ ./tools/checkpatch.pl 20120215/0002-command-log-print-log-v2.con-value-in-the-log-info-c.patch
total: 0 errors, 0 warnings, 7 lines checked

NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE

20120215/0002-command-log-print-log-v2.con-value-in-the-log-info-c.patch has no obvious style problems and is ready for submission.

 common/cmd_log.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/cmd_log.c b/common/cmd_log.c
index 9f76913..ff5924c 100644
--- a/common/cmd_log.c
+++ b/common/cmd_log.c
@@ -234,6 +234,7 @@ int do_log(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 				printf("log_start    =  %08lx\n",
 					log->v2.start);
 				printf("log_end      =  %08lx\n", log->v2.end);
+				printf("log_con      =  %08lx\n", log->v2.con);
 				printf("logged_chars =  %08lx\n",
 					log->v2.chars);
 			}
-- 
1.7.7.6



More information about the U-Boot mailing list