From: Tom Rini Date: Tue, 7 Aug 2018 09:17:34 -0400 Subject: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6 In-Reply-To: <20180807113734.494012400F1@gemini.denx.de> References: <20180806151344.31892-1-sr@denx.de> <20180806185242.GW32145@bill-the-cat> <5915add1-21f8-f4f3-7460-ba13b4c0bcda@denx.de> <20180807111435.GD29229@bill-the-cat> <20180807113734.494012400F1@gemini.denx.de> Message-ID: <20180807131734.GG29229@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 Tue, Aug 07, 2018 at 01:37:34PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180807111435.GD29229@bill-the-cat> you wrote: > > > > > Its a "warn" and this should be visible to the user IMHO. One might > > > discuss, if an "info" or "notice" text should printed, but warnings > > > seem quite important (at least for my taste). Changing this to even > ... > > Please bump it per board/SoC, thanks! > > So we stop printing warnings now, just to satisfy code size > limitations on a few boards? > > This is a totally wrong approach! If code size is a problem, these > boards should disable unneeded or at least non-essential features, > but you don;t want to ignore warnings, especially if these cause a > command to not perform the expected operation. Yes, by default "warnings", which means pr_warn, along with pr_notice and pr_info get optimized away. In no case should a warning be printed in a case where we aren't otherwise recovering and working correctly. I think there's a strong case here that the root problem here is that the prints in question ought to be pr_err and that should be corrected in the kernel too. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: