
31 May
2020
31 May
'20
6:09 p.m.
Hi Heinrich,
On Sun, 31 May 2020 at 09:34, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Hello Simon,
in some drivers we use printk() which is restricted by CONFIG_LOGLEVEL and translates to printf().
Shouldn't printk() be translated to log() instead?
CONFIG_LOGLEVEL probably should better be renamed to CONFIG_PRINTK_LOGLEVEL to avoid confusion.
And those different levels like KERN_WARNING should probably be properly defined to translate into out log levels.
Yes definitely. I have been thinking about those things for a while, not to mention dev_err() and friends.
Regards, Simon