aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-05 23:47:47 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-05 23:47:47 -0500
commit0dc47877a3de00ceadea0005189656ae8dc52669 (patch)
tree7440a87385fe318cb42f0ae161be195f5e967d82 /net/ipv6/tcp_ipv6.c
parent6387c4bed539539b05fa773cf2ff26529dc3074c (diff)
net: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index aacbb7688bf9..b47cce8fea44 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -753,7 +753,7 @@ static int tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
753 753
754 hp = tcp_get_md5sig_pool(); 754 hp = tcp_get_md5sig_pool();
755 if (!hp) { 755 if (!hp) {
756 printk(KERN_WARNING "%s(): hash pool not found...\n", __FUNCTION__); 756 printk(KERN_WARNING "%s(): hash pool not found...\n", __func__);
757 goto clear_hash_noput; 757 goto clear_hash_noput;
758 } 758 }
759 bp = &hp->md5_blk.ip6; 759 bp = &hp->md5_blk.ip6;
@@ -793,17 +793,17 @@ static int tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
793 /* Now store the hash into the packet */ 793 /* Now store the hash into the packet */
794 err = crypto_hash_init(desc); 794 err = crypto_hash_init(desc);
795 if (err) { 795 if (err) {
796 printk(KERN_WARNING "%s(): hash_init failed\n", __FUNCTION__); 796 printk(KERN_WARNING "%s(): hash_init failed\n", __func__);
797 goto clear_hash; 797 goto clear_hash;
798 } 798 }
799 err = crypto_hash_update(desc, sg, nbytes); 799 err = crypto_hash_update(desc, sg, nbytes);
800 if (err) { 800 if (err) {
801 printk(KERN_WARNING "%s(): hash_update failed\n", __FUNCTION__); 801 printk(KERN_WARNING "%s(): hash_update failed\n", __func__);
802 goto clear_hash; 802 goto clear_hash;
803 } 803 }
804 err = crypto_hash_final(desc, md5_hash); 804 err = crypto_hash_final(desc, md5_hash);
805 if (err) { 805 if (err) {
806 printk(KERN_WARNING "%s(): hash_final failed\n", __FUNCTION__); 806 printk(KERN_WARNING "%s(): hash_final failed\n", __func__);
807 goto clear_hash; 807 goto clear_hash;
808 } 808 }
809 809