diff options
author | Hannes Eder <heder@google.com> | 2009-07-30 14:29:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-30 14:29:44 -0700 |
commit | 9aada7ac047f789ffb27540cc1695989897b2dfe (patch) | |
tree | c55838fbe9060dd0b7d3857f0c850256d7ba8517 /net/netfilter/ipvs/ip_vs_proto_ah_esp.c | |
parent | b4076d1715b8a38138db0805a85932b3b650d583 (diff) | |
download | kernel_samsung_smdk4412-9aada7ac047f789ffb27540cc1695989897b2dfe.zip kernel_samsung_smdk4412-9aada7ac047f789ffb27540cc1695989897b2dfe.tar.gz kernel_samsung_smdk4412-9aada7ac047f789ffb27540cc1695989897b2dfe.tar.bz2 |
IPVS: use pr_fmt
While being at it cleanup whitespace.
Signed-off-by: Hannes Eder <heder@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_proto_ah_esp.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_proto_ah_esp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto_ah_esp.c b/net/netfilter/ipvs/ip_vs_proto_ah_esp.c index 79f56c1..c30b43c 100644 --- a/net/netfilter/ipvs/ip_vs_proto_ah_esp.c +++ b/net/netfilter/ipvs/ip_vs_proto_ah_esp.c @@ -10,6 +10,9 @@ * */ +#define KMSG_COMPONENT "IPVS" +#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt + #include <linux/in.h> #include <linux/ip.h> #include <linux/module.h> @@ -138,7 +141,7 @@ ah_esp_debug_packet_v4(struct ip_vs_protocol *pp, const struct sk_buff *skb, sprintf(buf, "%s %pI4->%pI4", pp->name, &ih->saddr, &ih->daddr); - printk(KERN_DEBUG "IPVS: %s: %s\n", msg, buf); + pr_debug("%s: %s\n", msg, buf); } #ifdef CONFIG_IP_VS_IPV6 @@ -156,7 +159,7 @@ ah_esp_debug_packet_v6(struct ip_vs_protocol *pp, const struct sk_buff *skb, sprintf(buf, "%s %pI6->%pI6", pp->name, &ih->saddr, &ih->daddr); - printk(KERN_DEBUG "IPVS: %s: %s\n", msg, buf); + pr_debug("%s: %s\n", msg, buf); } #endif |