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/associola.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/associola.c')
-rw-r--r-- | net/sctp/associola.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index d29f792e0529..422c98aa9d5c 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -1330,7 +1330,7 @@ void sctp_assoc_sync_pmtu(struct sctp_association *asoc) | |||
1330 | } | 1330 | } |
1331 | 1331 | ||
1332 | SCTP_DEBUG_PRINTK("%s: asoc:%p, pmtu:%d, frag_point:%d\n", | 1332 | SCTP_DEBUG_PRINTK("%s: asoc:%p, pmtu:%d, frag_point:%d\n", |
1333 | __FUNCTION__, asoc, asoc->pathmtu, asoc->frag_point); | 1333 | __func__, asoc, asoc->pathmtu, asoc->frag_point); |
1334 | } | 1334 | } |
1335 | 1335 | ||
1336 | /* Should we send a SACK to update our peer? */ | 1336 | /* Should we send a SACK to update our peer? */ |
@@ -1370,7 +1370,7 @@ void sctp_assoc_rwnd_increase(struct sctp_association *asoc, unsigned len) | |||
1370 | } | 1370 | } |
1371 | 1371 | ||
1372 | SCTP_DEBUG_PRINTK("%s: asoc %p rwnd increased by %d to (%u, %u) " | 1372 | SCTP_DEBUG_PRINTK("%s: asoc %p rwnd increased by %d to (%u, %u) " |
1373 | "- %u\n", __FUNCTION__, asoc, len, asoc->rwnd, | 1373 | "- %u\n", __func__, asoc, len, asoc->rwnd, |
1374 | asoc->rwnd_over, asoc->a_rwnd); | 1374 | asoc->rwnd_over, asoc->a_rwnd); |
1375 | 1375 | ||
1376 | /* Send a window update SACK if the rwnd has increased by at least the | 1376 | /* Send a window update SACK if the rwnd has increased by at least the |
@@ -1381,7 +1381,7 @@ void sctp_assoc_rwnd_increase(struct sctp_association *asoc, unsigned len) | |||
1381 | if (sctp_peer_needs_update(asoc)) { | 1381 | if (sctp_peer_needs_update(asoc)) { |
1382 | asoc->a_rwnd = asoc->rwnd; | 1382 | asoc->a_rwnd = asoc->rwnd; |
1383 | SCTP_DEBUG_PRINTK("%s: Sending window update SACK- asoc: %p " | 1383 | SCTP_DEBUG_PRINTK("%s: Sending window update SACK- asoc: %p " |
1384 | "rwnd: %u a_rwnd: %u\n", __FUNCTION__, | 1384 | "rwnd: %u a_rwnd: %u\n", __func__, |
1385 | asoc, asoc->rwnd, asoc->a_rwnd); | 1385 | asoc, asoc->rwnd, asoc->a_rwnd); |
1386 | sack = sctp_make_sack(asoc); | 1386 | sack = sctp_make_sack(asoc); |
1387 | if (!sack) | 1387 | if (!sack) |
@@ -1410,7 +1410,7 @@ void sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned len) | |||
1410 | asoc->rwnd = 0; | 1410 | asoc->rwnd = 0; |
1411 | } | 1411 | } |
1412 | SCTP_DEBUG_PRINTK("%s: asoc %p rwnd decreased by %d to (%u, %u)\n", | 1412 | SCTP_DEBUG_PRINTK("%s: asoc %p rwnd decreased by %d to (%u, %u)\n", |
1413 | __FUNCTION__, asoc, len, asoc->rwnd, | 1413 | __func__, asoc, len, asoc->rwnd, |
1414 | asoc->rwnd_over); | 1414 | asoc->rwnd_over); |
1415 | } | 1415 | } |
1416 | 1416 | ||