From: Peng Tao Date: Thu, 21 Nov 2013 14:42:46 +0000 (+0800) Subject: staging/lustre/obdclass: add empty tailing member to ctl_table X-Git-Tag: v3.14-rc1~13^2~737 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e780e3de6d67abb16edec6f88f1651bf19b7ec81;p=platform%2Fkernel%2Flinux-exynos.git staging/lustre/obdclass: add empty tailing member to ctl_table This was mistakenly removed by commit 7fb3d1c5. Now register_sysctl_table() complains about "No proc_handler". Cc: Andreas Dilger Signed-off-by: Peng Tao Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c index d66be02..c1ef0c9 100644 --- a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c +++ b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c @@ -392,7 +392,8 @@ static ctl_table_t obd_table[] = { .maxlen = sizeof(int), .mode = 0644, .proc_handler = &proc_at_history - } + }, + {} }; static ctl_table_t parent_table[] = { @@ -402,7 +403,8 @@ static ctl_table_t parent_table[] = { .maxlen = 0, .mode = 0555, .child = obd_table - } + }, + {} }; #endif