lkml.org 
[lkml]   [2015]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net/ipv4/ipconfig: Rejoin broken lines in console output
From
From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Tue, 24 Nov 2015 14:08:23 +0100

> Commit 09605cc12c078306 ("net ipv4: use preferred log methods") replaced
> a few calls of pr_cont() after a console print without a trailing
> newline by pr_info(), causing lines to be split during IP
> autoconfiguration, like:
>
> .
> ,
> OK
> IP-Config: Got DHCP answer from 192.168.97.254,
> my address is 192.168.97.44
>
> Convert these back to using pr_cont(), so it prints again:
>
> ., OK
> IP-Config: Got DHCP answer from 192.168.97.254, my address is 192.168.97.44
>
> Absorb the printing of "my address ..." into the previous call to
> pr_info(), as there's no reason to use a continuation there.
>
> Convert one more pr_info() to print nameservers while we're at it.
>
> Fixes: 09605cc12c078306 ("net ipv4: use preferred log methods")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied, thank you.


\
 
 \ /
  Last update: 2015-11-24 18:21    [W:0.214 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site