Re: linux.git: printk() problem
From: Joe Perches
Date: Wed Oct 12 2016 - 12:09:12 EST
On Wed, 2016-10-12 at 16:35 +0200, Michal Hocko wrote:
> On Wed 12-10-16 22:30:03, Tetsuo Handa wrote:
> > Hello.
> > I noticed that current linux.git generates hardly readable console output
> > due to KERN_CONT changes. Are you suggesting developers that output like
> > this be fixed?
> Joe has already posted a patch
> And in general I think that adding those KERN_CONT is a good thing to
As do I, but there are about a quarter _million_ uses of
printk/logging messages in the kernel tree with newlines.
Maybe 100 or so of the existing messages lack terminating
There are about 1800 uses of KERN_CONT/pr_cont today.
There are multiple thousands of uses of bare printks used as
printk line continuations that would need updating.
Most of those multiple thousands are in drivers of ancient and
out of manufacture devices or are subsystems that are old, crufty
and effectively unmaintained. These might not need to be updated.
Still, there are probably hundreds to low thousands of actively
used device drivers that will need KERN?CONT or pr_cont update to
avoid logging output defects.