From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 28 Oct 2020 11:31:55 -0400 Subject: [PATCH v2 2/3] log: allow for message continuation In-Reply-To: <20201017123159.172357-3-xypron.glpk@gmx.de> References: <20201017123159.172357-1-xypron.glpk@gmx.de> <20201017123159.172357-3-xypron.glpk@gmx.de> Message-ID: <20201028153155.GH5340@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 Sat, Oct 17, 2020 at 02:31:58PM +0200, Heinrich Schuchardt wrote: > Some drivers use macro pr_cont() for continuing a message sent via printk. > Hence if we want to convert printk messaging to using the logging system, > we must support continuation of log messages too. > > As pr_cont() does not provide a message level we need a means of > remembering the last log level. > > With the patch a pseudo log level LOGL_CONT as well as a pseudo log > category LOGC_CONT are introduced. Using these results in the application > of the same log level and category as in the previous log message. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: