From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Tue, 5 Dec 2017 10:10:33 +0000 Subject: [U-Boot] [PATCH 08/14] env: common: Make the debug messages play a little nicer In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28/11/17 10:24, Maxime Ripard wrote: > Since we have global messages to indicate what's going on, the custom > messages in the environment drivers only make the output less readable. > > Make the common code play a little nicer by removing all the extra output > in the standard case. > > Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara One nit below ... > --- > env/common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/env/common.c b/env/common.c > index 70715bb6e756..fb66432bdc81 100644 > --- a/env/common.c > +++ b/env/common.c > @@ -78,7 +78,7 @@ void set_default_env(const char *s) > puts(s); > } > } else { > - puts("Using default environment\n\n"); > + debug("Using default environment\n\n"); Do we still need the extra empty line? Cheers, Andre > } > > if (himport_r(&env_htab, (char *)default_environment, >