From: Heiko Carstens Date: Wed, 14 Oct 2009 10:43:49 +0000 (+0200) Subject: [S390] call home support: fix proc handler X-Git-Tag: v2.6.32-rc5~19^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3acf71fb8daecc8ab8b1371d29d15df0c30a315;p=profile%2Fcommon%2Fkernel-common.git [S390] call home support: fix proc handler 8d65af78 "sysctl: remove "struct file *" argument of ->proc_handler" removed the struct file argument from all proc_handlers but didn't change the call home proc handler (or call home was merged later). So fix this now. Cc: Alexey Dobriyan Cc: Hans-Joachim Picht Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/sclp_async.c b/drivers/s390/char/sclp_async.c index daaec18..a4f68e5 100644 --- a/drivers/s390/char/sclp_async.c +++ b/drivers/s390/char/sclp_async.c @@ -62,7 +62,7 @@ static struct notifier_block call_home_panic_nb = { .priority = INT_MAX, }; -static int proc_handler_callhome(ctl_table *ctl, int write, struct file *filp, +static int proc_handler_callhome(struct ctl_table *ctl, int write, void __user *buffer, size_t *count, loff_t *ppos) { @@ -100,7 +100,7 @@ static struct ctl_table callhome_table[] = { { .procname = "callhome", .mode = 0644, - .proc_handler = &proc_handler_callhome, + .proc_handler = proc_handler_callhome, }, { .ctl_name = 0 } };