summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_rr.c
diff options
context:
space:
mode:
authorHannes Eder2009-08-02 13:05:41 +0200
committerDavid S. Miller2009-08-03 03:29:30 +0200
commit1e3e238e9c4bf9987b19185235cd0cdc21ea038c (patch)
treec58e2f1954ccb86ad1cca93ef269200cb183403c /net/netfilter/ipvs/ip_vs_rr.c
parentsmsc95xx: remove EEPROM loaded check (diff)
downloadkernel-qcow2-linux-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.tar.gz
kernel-qcow2-linux-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.tar.xz
kernel-qcow2-linux-1e3e238e9c4bf9987b19185235cd0cdc21ea038c.zip
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_rr.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_rr.c b/net/netfilter/ipvs/ip_vs_rr.c
index b01007e1c11e..e210f37d8ea2 100644
--- a/net/netfilter/ipvs/ip_vs_rr.c
+++ b/net/netfilter/ipvs/ip_vs_rr.c
@@ -51,7 +51,7 @@ ip_vs_rr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
struct list_head *p, *q;
struct ip_vs_dest *dest;
- IP_VS_DBG(6, "ip_vs_rr_schedule(): Scheduling...\n");
+ IP_VS_DBG(6, "%s(): Scheduling...\n", __func__);
write_lock(&svc->sched_lock);
p = (struct list_head *)svc->sched_data;