]> git.baikalelectronics.ru Git - kernel.git/commit
net: esp: Convert NETDEBUG to pr_info
authorJoe Perches <joe@perches.com>
Wed, 5 Nov 2014 23:36:08 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 20:11:10 +0000 (15:11 -0500)
commit7edc5e59e223c2cca0e17f3dddec3102faa75bdf
treee0c644e9978c7030c4109759d4b33e38fb002fb8
parentcdfadfd7d377fe4902406653a0e37077769e12cf
net: esp: Convert NETDEBUG to pr_info

Commit 7e3c33c3964d ("[NET]: Make NETDEBUG pure printk wrappers")
originally had these NETDEBUG printks as always emitting.

Commit 8cdd500160e1 ("[NET]: Replace CONFIG_NET_DEBUG with sysctl")
added a net_msg_warn sysctl to these NETDEBUG uses.

Convert these NETDEBUG uses to normal pr_info calls.

This changes the output prefix from "ESP: " to include
"IPSec: " for the ipv4 case and "IPv6: " for the ipv6 case.

These output lines are now like the other messages in the files.

Other miscellanea:

Neaten the arithmetic spacing to be consistent with other
arithmetic spacing in the files.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/esp4.c
net/ipv6/esp6.c