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>
This commit is contained in:
committed by
David S. Miller
parent
6387c4bed5
commit
0dc47877a3
@@ -1124,7 +1124,7 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep,
|
||||
printk(KERN_WARNING
|
||||
"%s association %p could not find address "
|
||||
NIP6_FMT "\n",
|
||||
__FUNCTION__,
|
||||
__func__,
|
||||
asoc,
|
||||
NIP6(from_addr.v6.sin6_addr));
|
||||
} else {
|
||||
@@ -1132,7 +1132,7 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep,
|
||||
printk(KERN_WARNING
|
||||
"%s association %p could not find address "
|
||||
NIPQUAD_FMT "\n",
|
||||
__FUNCTION__,
|
||||
__func__,
|
||||
asoc,
|
||||
NIPQUAD(from_addr.v4.sin_addr.s_addr));
|
||||
}
|
||||
@@ -1150,7 +1150,7 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep,
|
||||
time_after(jiffies, hbinfo->sent_at + max_interval)) {
|
||||
SCTP_DEBUG_PRINTK("%s: HEARTBEAT ACK with invalid timestamp "
|
||||
"received for transport: %p\n",
|
||||
__FUNCTION__, link);
|
||||
__func__, link);
|
||||
return SCTP_DISPOSITION_DISCARD;
|
||||
}
|
||||
|
||||
@@ -3668,7 +3668,7 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn(const struct sctp_endpoint *ep,
|
||||
skb_pull(chunk->skb, len);
|
||||
|
||||
tsn = ntohl(fwdtsn_hdr->new_cum_tsn);
|
||||
SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __FUNCTION__, tsn);
|
||||
SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __func__, tsn);
|
||||
|
||||
/* The TSN is too high--silently discard the chunk and count on it
|
||||
* getting retransmitted later.
|
||||
@@ -3728,7 +3728,7 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn_fast(
|
||||
skb_pull(chunk->skb, len);
|
||||
|
||||
tsn = ntohl(fwdtsn_hdr->new_cum_tsn);
|
||||
SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __FUNCTION__, tsn);
|
||||
SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __func__, tsn);
|
||||
|
||||
/* The TSN is too high--silently discard the chunk and count on it
|
||||
* getting retransmitted later.
|
||||
|
Reference in New Issue
Block a user