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/outqueue.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/outqueue.c')
-rw-r--r-- | net/sctp/outqueue.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index fd4deefab3cf..392012f5ab83 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c | |||
@@ -469,7 +469,7 @@ void sctp_retransmit_mark(struct sctp_outq *q, | |||
469 | 469 | ||
470 | SCTP_DEBUG_PRINTK("%s: transport: %p, reason: %d, " | 470 | SCTP_DEBUG_PRINTK("%s: transport: %p, reason: %d, " |
471 | "cwnd: %d, ssthresh: %d, flight_size: %d, " | 471 | "cwnd: %d, ssthresh: %d, flight_size: %d, " |
472 | "pba: %d\n", __FUNCTION__, | 472 | "pba: %d\n", __func__, |
473 | transport, reason, | 473 | transport, reason, |
474 | transport->cwnd, transport->ssthresh, | 474 | transport->cwnd, transport->ssthresh, |
475 | transport->flight_size, | 475 | transport->flight_size, |
@@ -1206,10 +1206,10 @@ int sctp_outq_sack(struct sctp_outq *q, struct sctp_sackhdr *sack) | |||
1206 | sctp_generate_fwdtsn(q, sack_ctsn); | 1206 | sctp_generate_fwdtsn(q, sack_ctsn); |
1207 | 1207 | ||
1208 | SCTP_DEBUG_PRINTK("%s: sack Cumulative TSN Ack is 0x%x.\n", | 1208 | SCTP_DEBUG_PRINTK("%s: sack Cumulative TSN Ack is 0x%x.\n", |
1209 | __FUNCTION__, sack_ctsn); | 1209 | __func__, sack_ctsn); |
1210 | SCTP_DEBUG_PRINTK("%s: Cumulative TSN Ack of association, " | 1210 | SCTP_DEBUG_PRINTK("%s: Cumulative TSN Ack of association, " |
1211 | "%p is 0x%x. Adv peer ack point: 0x%x\n", | 1211 | "%p is 0x%x. Adv peer ack point: 0x%x\n", |
1212 | __FUNCTION__, asoc, ctsn, asoc->adv_peer_ack_point); | 1212 | __func__, asoc, ctsn, asoc->adv_peer_ack_point); |
1213 | 1213 | ||
1214 | /* See if all chunks are acked. | 1214 | /* See if all chunks are acked. |
1215 | * Make sure the empty queue handler will get run later. | 1215 | * Make sure the empty queue handler will get run later. |
@@ -1444,7 +1444,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, | |||
1444 | if (tchunk->tsn_gap_acked) { | 1444 | if (tchunk->tsn_gap_acked) { |
1445 | SCTP_DEBUG_PRINTK("%s: Receiver reneged on " | 1445 | SCTP_DEBUG_PRINTK("%s: Receiver reneged on " |
1446 | "data TSN: 0x%x\n", | 1446 | "data TSN: 0x%x\n", |
1447 | __FUNCTION__, | 1447 | __func__, |
1448 | tsn); | 1448 | tsn); |
1449 | tchunk->tsn_gap_acked = 0; | 1449 | tchunk->tsn_gap_acked = 0; |
1450 | 1450 | ||
@@ -1561,7 +1561,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, | |||
1561 | (sack_ctsn+2 == q->asoc->next_tsn)) { | 1561 | (sack_ctsn+2 == q->asoc->next_tsn)) { |
1562 | SCTP_DEBUG_PRINTK("%s: SACK received for zero " | 1562 | SCTP_DEBUG_PRINTK("%s: SACK received for zero " |
1563 | "window probe: %u\n", | 1563 | "window probe: %u\n", |
1564 | __FUNCTION__, sack_ctsn); | 1564 | __func__, sack_ctsn); |
1565 | q->asoc->overall_error_count = 0; | 1565 | q->asoc->overall_error_count = 0; |
1566 | transport->error_count = 0; | 1566 | transport->error_count = 0; |
1567 | } | 1567 | } |
@@ -1626,7 +1626,7 @@ static void sctp_mark_missing(struct sctp_outq *q, | |||
1626 | 1626 | ||
1627 | SCTP_DEBUG_PRINTK( | 1627 | SCTP_DEBUG_PRINTK( |
1628 | "%s: TSN 0x%x missing counter: %d\n", | 1628 | "%s: TSN 0x%x missing counter: %d\n", |
1629 | __FUNCTION__, tsn, | 1629 | __func__, tsn, |
1630 | chunk->tsn_missing_report); | 1630 | chunk->tsn_missing_report); |
1631 | } | 1631 | } |
1632 | } | 1632 | } |
@@ -1649,7 +1649,7 @@ static void sctp_mark_missing(struct sctp_outq *q, | |||
1649 | 1649 | ||
1650 | SCTP_DEBUG_PRINTK("%s: transport: %p, cwnd: %d, " | 1650 | SCTP_DEBUG_PRINTK("%s: transport: %p, cwnd: %d, " |
1651 | "ssthresh: %d, flight_size: %d, pba: %d\n", | 1651 | "ssthresh: %d, flight_size: %d, pba: %d\n", |
1652 | __FUNCTION__, transport, transport->cwnd, | 1652 | __func__, transport, transport->cwnd, |
1653 | transport->ssthresh, transport->flight_size, | 1653 | transport->ssthresh, transport->flight_size, |
1654 | transport->partial_bytes_acked); | 1654 | transport->partial_bytes_acked); |
1655 | } | 1655 | } |