aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_dh.c
diff options
context:
space:
mode:
authorHannes Eder <heder@google.com>2009-08-02 11:05:41 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-02 18:29:30 -0700
commit1e3e238e9c4bf9987b19185235cd0cdc21ea038c (patch)
treec58e2f1954ccb86ad1cca93ef269200cb183403c /net/netfilter/ipvs/ip_vs_dh.c
parentbcd218be5aebed94951a750b1d477aea86fb68ea (diff)
downloadkernel_samsung_smdk4412-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.zip
kernel_samsung_smdk4412-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.tar.gz
kernel_samsung_smdk4412-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.tar.bz2
IPVS: use pr_err and friends instead of IP_VS_ERR and friends
Since pr_err and friends are used instead of printk there is no point in keeping IP_VS_ERR and friends. Furthermore make use of '__func__' instead of hard coded function names. Signed-off-by: Hannes Eder <heder@google.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_dh.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_dh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/ipvs/ip_vs_dh.c b/net/netfilter/ipvs/ip_vs_dh.c
index d0c0594..fe3e188 100644
--- a/net/netfilter/ipvs/ip_vs_dh.c
+++ b/net/netfilter/ipvs/ip_vs_dh.c
@@ -150,7 +150,7 @@ static int ip_vs_dh_init_svc(struct ip_vs_service *svc)
tbl = kmalloc(sizeof(struct ip_vs_dh_bucket)*IP_VS_DH_TAB_SIZE,
GFP_ATOMIC);
if (tbl == NULL) {
- IP_VS_ERR("ip_vs_dh_init_svc(): no memory\n");
+ pr_err("%s(): no memory\n", __func__);
return -ENOMEM;
}
svc->sched_data = tbl;
@@ -217,7 +217,7 @@ ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
ip_vs_fill_iphdr(svc->af, skb_network_header(skb), &iph);
- IP_VS_DBG(6, "ip_vs_dh_schedule(): Scheduling...\n");
+ IP_VS_DBG(6, "%s(): Scheduling...\n", __func__);
tbl = (struct ip_vs_dh_bucket *)svc->sched_data;
dest = ip_vs_dh_get(svc->af, tbl, &iph.daddr);