aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-03-23 22:46:34 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-23 22:46:34 -0700
commit2444844cefd2ce0ac73858cf980de07e33a5dd20 (patch)
tree17358f567c46db97baa363be468aed8a051fba2d /net/sctp/sm_make_chunk.c
parent3d3b2d25a4debaff05a9e6f5c55a0d31e4334234 (diff)
downloadkernel_goldelico_gta04-2444844cefd2ce0ac73858cf980de07e33a5dd20.zip
kernel_goldelico_gta04-2444844cefd2ce0ac73858cf980de07e33a5dd20.tar.gz
kernel_goldelico_gta04-2444844cefd2ce0ac73858cf980de07e33a5dd20.tar.bz2
[SCTP]: Replace char msg[] with static const char[].
133886 2004 220 136110 213ae sctp.new/sctp.o 134018 2004 220 136242 21432 sctp.old/sctp.o Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 578630e..c898245 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1782,7 +1782,7 @@ static int sctp_process_inv_paramlength(const struct sctp_association *asoc,
const struct sctp_chunk *chunk,
struct sctp_chunk **errp)
{
- char error[] = "The following parameter had invalid length:";
+ static const char error[] = "The following parameter had invalid length:";
size_t payload_len = WORD_ROUND(sizeof(error)) +
sizeof(sctp_paramhdr_t);