[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47B46C68.6050904@rtr.ca>
Date: Thu, 14 Feb 2008 11:29:28 -0500
From: Mark Lord <liml@....ca>
To: Tejun Heo <htejun@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, jeff@...zik.org,
linux-ide@...r.kernel.org, jengelh@...putergmbh.de, matthew@....cx,
randy.dunlap@...cle.com, daniel.ritz-ml@...ssonline.ch,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHSET] printk: implement printk_header() and merging printk,
take #3
Tejun Heo wrote:
>..
> * For timeouts, result TF isn't available and thus res printout is
> misleading. res shouldn't be printed after timeouts. This would
> require allocating yest another temp buf and separating out res printing
> into separate snprintf.
..
And snprintf() is buggy, by the way. It does not always seem to return
the correct character fill counts. I've given up trying to use it here
for anything in kernelspace that *must* work.
Someday I'll go back and try to figure out where it's screwing up.
I think it is doing so in the cases where it runs out of space in the buffer.
-ml
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists