Re: [PATCH] drivers-core: beware dev_printk() from printing nonsense

From: Sebastian Andrzej Siewior
Date: Mon Aug 20 2012 - 12:53:23 EST


On 08/20/2012 05:26 PM, Greg Kroah-Hartman wrote:
skip:
- if (level[3])
+ if (level[sizeof(KERN_ERR) - 1])

This has already been fixed in my driver-core tree and will go to Linus
in a few hours.

Ah. So I'm too late. Care to send a patch which replace [2] with the
sizeof() operator like above?


thanks,

greg k-h

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