From: Joe Perches Date: Mon, 13 Sep 2010 19:48:01 +0000 (-0700) Subject: net/sunrpc: Use static const char arrays X-Git-Tag: tegra-14.ER1-android-2.3~3157^2~2 X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff_plain;h=411b5e05617593efebc06241dbc56f42150f2abe;hp=43c2e885be25311e6289c7da52e8a03c4453ee03 net/sunrpc: Use static const char arrays Signed-off-by: Joe Perches Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_mech.c index 0326446..8a4d083 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c @@ -422,7 +422,7 @@ static int context_derive_keys_rc4(struct krb5_ctx *ctx) { struct crypto_hash *hmac; - char sigkeyconstant[] = "signaturekey"; + static const char sigkeyconstant[] = "signaturekey"; int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ struct hash_desc desc; struct scatterlist sg[1];