lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 9 Feb 2009 09:35:37 +0100
FromWolfram Sang <>
SubjectRe: [PATCH] i2c: add missing KERN_* constants to printks
> I mean the (first) printk in the loop, not the last printk in this
> function. So what I am suggesting is:
>
> + printk(KERN_DEBUG);
> for (i = 0; i < i2c->irqlogidx; i++)
> printk("[%08x:%08x] ", i2c->isrlog[i], i2c->icrlog[i]);
> printk("\n");

Hmm, I was told (by Jean ;)) that every printk should end with newline,
otherwise it might get interrupted with other output -> mess.

Bye,

Wolfram

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-02-09 09:39    [from the cache]
©2003-2010