Re: [PATCH] Net: netfilter: Replace printk() with pr_*() and define pr_fmt()

2018-03-20 Thread Pablo Neira Ayuso
On Mon, Mar 12, 2018 at 06:36:29PM +0530, Arushi Singhal wrote: > Using pr_() is more concise than printk(KERN_). > This patch: > * Replace printks having a log level with the appropriate > pr_*() macros. > * Define pr_fmt() to include relevant name. > * Remove redundant prefixes from pr_*()

[PATCH] Net: netfilter: Replace printk() with pr_*() and define pr_fmt()

2018-03-12 Thread Arushi Singhal
Using pr_() is more concise than printk(KERN_). This patch: * Replace printks having a log level with the appropriate pr_*() macros. * Define pr_fmt() to include relevant name. * Remove redundant prefixes from pr_*() calls. * Indent the code where possible. * Remove the useless output messages. *