diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-05 23:47:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 23:47:47 -0500 |
commit | 0dc47877a3de00ceadea0005189656ae8dc52669 (patch) | |
tree | 7440a87385fe318cb42f0ae161be195f5e967d82 /net/sctp/transport.c | |
parent | 6387c4bed539539b05fa773cf2ff26529dc3074c (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/sctp/transport.c')
-rw-r--r-- | net/sctp/transport.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index d9f8af852b56..f4938f6c5abe 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -260,7 +260,7 @@ void sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu) | |||
260 | if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { | 260 | if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { |
261 | printk(KERN_WARNING "%s: Reported pmtu %d too low, " | 261 | printk(KERN_WARNING "%s: Reported pmtu %d too low, " |
262 | "using default minimum of %d\n", | 262 | "using default minimum of %d\n", |
263 | __FUNCTION__, pmtu, | 263 | __func__, pmtu, |
264 | SCTP_DEFAULT_MINSEGMENT); | 264 | SCTP_DEFAULT_MINSEGMENT); |
265 | /* Use default minimum segment size and disable | 265 | /* Use default minimum segment size and disable |
266 | * pmtu discovery on this transport. | 266 | * pmtu discovery on this transport. |
@@ -388,7 +388,7 @@ void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) | |||
388 | tp->rto_pending = 0; | 388 | tp->rto_pending = 0; |
389 | 389 | ||
390 | SCTP_DEBUG_PRINTK("%s: transport: %p, rtt: %d, srtt: %d " | 390 | SCTP_DEBUG_PRINTK("%s: transport: %p, rtt: %d, srtt: %d " |
391 | "rttvar: %d, rto: %ld\n", __FUNCTION__, | 391 | "rttvar: %d, rto: %ld\n", __func__, |
392 | tp, rtt, tp->srtt, tp->rttvar, tp->rto); | 392 | tp, rtt, tp->srtt, tp->rttvar, tp->rto); |
393 | } | 393 | } |
394 | 394 | ||
@@ -434,7 +434,7 @@ void sctp_transport_raise_cwnd(struct sctp_transport *transport, | |||
434 | SCTP_DEBUG_PRINTK("%s: SLOW START: transport: %p, " | 434 | SCTP_DEBUG_PRINTK("%s: SLOW START: transport: %p, " |
435 | "bytes_acked: %d, cwnd: %d, ssthresh: %d, " | 435 | "bytes_acked: %d, cwnd: %d, ssthresh: %d, " |
436 | "flight_size: %d, pba: %d\n", | 436 | "flight_size: %d, pba: %d\n", |
437 | __FUNCTION__, | 437 | __func__, |
438 | transport, bytes_acked, cwnd, | 438 | transport, bytes_acked, cwnd, |
439 | ssthresh, flight_size, pba); | 439 | ssthresh, flight_size, pba); |
440 | } else { | 440 | } else { |
@@ -460,7 +460,7 @@ void sctp_transport_raise_cwnd(struct sctp_transport *transport, | |||
460 | SCTP_DEBUG_PRINTK("%s: CONGESTION AVOIDANCE: " | 460 | SCTP_DEBUG_PRINTK("%s: CONGESTION AVOIDANCE: " |
461 | "transport: %p, bytes_acked: %d, cwnd: %d, " | 461 | "transport: %p, bytes_acked: %d, cwnd: %d, " |
462 | "ssthresh: %d, flight_size: %d, pba: %d\n", | 462 | "ssthresh: %d, flight_size: %d, pba: %d\n", |
463 | __FUNCTION__, | 463 | __func__, |
464 | transport, bytes_acked, cwnd, | 464 | transport, bytes_acked, cwnd, |
465 | ssthresh, flight_size, pba); | 465 | ssthresh, flight_size, pba); |
466 | } | 466 | } |
@@ -546,7 +546,7 @@ void sctp_transport_lower_cwnd(struct sctp_transport *transport, | |||
546 | 546 | ||
547 | transport->partial_bytes_acked = 0; | 547 | transport->partial_bytes_acked = 0; |
548 | SCTP_DEBUG_PRINTK("%s: transport: %p reason: %d cwnd: " | 548 | SCTP_DEBUG_PRINTK("%s: transport: %p reason: %d cwnd: " |
549 | "%d ssthresh: %d\n", __FUNCTION__, | 549 | "%d ssthresh: %d\n", __func__, |
550 | transport, reason, | 550 | transport, reason, |
551 | transport->cwnd, transport->ssthresh); | 551 | transport->cwnd, transport->ssthresh); |
552 | } | 552 | } |