[PATCH NAND v5] mtd: nand: Replace printk() with appropriate pr_*() macro

Andy Shevchenko andy.shevchenko at gmail.com
Thu Feb 22 09:08:29 PST 2018

On Thu, Feb 22, 2018 at 6:31 PM, Shreeya Patel
<shreeya.patel23498 at gmail.com> wrote:
> Using pr_<loglevel>() is more concise than
> printk(KERN_<LOGLEVEL>).
> Replace printks having a log level with the appropriate
> pr_*() macros.
> Define pr_fmt() and remove other additional macros from
> the replaced printks.

It makes sense to fix indentation, like in case similar to ' mm?"":""
', and fix the specifiers, when
void *p is printed as 0x%08x or alike.

With Best Regards,
Andy Shevchenko

More information about the linux-mtd mailing list