From: Tom Rini Date: Fri, 10 Aug 2018 21:45:55 -0400 Subject: [U-Boot] [U-Boot, v3, 1/2] env: Don't show "Failed" error message In-Reply-To: <20180730161927.14763-2-semen.protsenko@linaro.org> References: <20180730161927.14763-2-semen.protsenko@linaro.org> Message-ID: <20180811014555.GE29229@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 30, 2018 at 07:19:26PM +0300, Sam Protsenko wrote: > "Failed" error message from env_load() only clutters the log with > unnecessary details, as we already have all needed warnings by that > time. Example: > > Loading Environment from FAT... MMC: no card present > ** Bad device mmc 0 ** > Failed (-5) > > Let's only print it in case when DEBUG is defined to keep log clear. > > Signed-off-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: