[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141205103248.GA6945@amd>
Date: Fri, 5 Dec 2014 11:32:48 +0100
From: Pavel Machek <pavel@....cz>
To: Joe Perches <joe@...ches.com>
Cc: Julia Lawall <julia.lawall@...6.fr>, cocci <cocci@...teme.lip6.fr>,
LKML <linux-kernel@...r.kernel.org>
Subject: printf vs. printk (was Re: Side-effect free printk?)
Hi!
BTW... All the time I'm programming in kernel, I use printf(), and
when hacking userspace, I use printk().
Nasty.
Given that printf() and printk() have exactly the same behaviour,
could we allow printf() in kernel? Now... printk()s are usually
removed before merging the driver, so code will not see much change,
but it will certainly result in less 4-letter words while developing.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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