Re: [PATCH] checkpatch: Warn if trace_printk and friends are called

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 15:09 +0800, Nicolas Boichat wrote: > trace_printk is meant as a debugging tool, and should not be > compiled into production code without specific debug Kconfig > options enabled, or source code changes, as indicated by the > warning that shows up on boot if any trace_printk

[PATCH] checkpatch: Warn if trace_printk and friends are called

2020-08-25 Thread Nicolas Boichat
trace_printk is meant as a debugging tool, and should not be compiled into production code without specific debug Kconfig options enabled, or source code changes, as indicated by the warning that shows up on boot if any trace_printk is called: ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE