2008-01-22 19:44:24

by Jan Engelhardt

[permalink] [raw]
Subject: [PATCH] [CRYPTO]: constify function pointer tables

Signed-off-by: Jan Engelhardt <[email protected]>
---
crypto/proc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crypto/proc.c b/crypto/proc.c
index 3d73323..24164b2 100644
--- a/crypto/proc.c
+++ b/crypto/proc.c
@@ -78,7 +78,7 @@ static int c_show(struct seq_file *m, void *p)
return 0;
}

-static struct seq_operations crypto_seq_ops = {
+static const struct seq_operations crypto_seq_ops = {
.start = c_start,
.next = c_next,
.stop = c_stop,
--
1.5.3.4


2008-03-13 11:38:09

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] [CRYPTO]: constify function pointer tables

On Tue, Jan 22, 2008 at 08:44:23PM +0100, Jan Engelhardt wrote:
> Signed-off-by: Jan Engelhardt <[email protected]>

Patch applied. Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt