lkml.org 
[lkml]   [2003]   [Jan]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromKeith Owens <>
SubjectRe: printk() without KERN_ prefixes? (in 2.5.59) and Q: small kernel image doc
DateTue, 21 Jan 2003 20:23:20 +1100
On Tue, 21 Jan 2003 09:58:43 +0100, 
"Ph. Marek" <philipp.marek@bmlv.gv.at> wrote:
>Should they be fixed to KERN_INFO or some such? I'm willing to contribute a 
>patch (which will be done by script, of course). Or am I missing something 
>and they shall stay as they are?

Do not blindly add KERN_*.  Some prints are done with multiple calls to
printk(), only the first call should have KERN_*, otherwise you get
lines like this, with embedded '<n>' strings.

  /dev/xscsi/pci01.00.0-1/target0/lun0:<6> p1<6> p2<6> p3<6> p4 <<6> p5<6> p6<6> p7 >

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:32    [from the cache]
©2003-2008