netfilter: Replace printk() with pr_*() and define pr_fmt()
authorArushi Singhal <arushisinghal19971997@gmail.com>
Mon, 12 Mar 2018 13:06:29 +0000 (18:36 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 20 Mar 2018 12:44:14 +0000 (13:44 +0100)
commit5191d70f83fd1878c40029cffe69f6a2bf65fa0e
tree5b0543a080a40a57e556da1dfb2035b90fa9d7dc
parent472a73e00757b971d613d796374d2727b2e4954d
netfilter: Replace printk() with pr_*() and define pr_fmt()

Using pr_<loglevel>() is more concise than printk(KERN_<LOGLEVEL>).
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.
* Remove periods from messages.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_acct.c
net/netfilter/nf_conntrack_ecache.c
net/netfilter/nf_conntrack_timestamp.c
net/netfilter/nf_nat_core.c
net/netfilter/nf_nat_ftp.c
net/netfilter/nf_nat_irc.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_time.c