From: Joe Perches <joe@perches.com> To: linux-kernel@vger.kernel.org Cc: Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, linux-ia64@vger.kernel.org Subject: [PATCH 02/24] ia64: Convert use of typedef ctl_table to struct ctl_table Date: Tue, 22 Oct 2013 15:29:45 -0700 [thread overview] Message-ID: <afc5f51789e13121442988f18bed7539eeb912d7.1382480758.git.joe@perches.com> (raw) In-Reply-To: <cover.1382480758.git.joe@perches.com> This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> --- arch/ia64/kernel/crash.c | 4 ++-- arch/ia64/kernel/perfmon.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index b942f40..2955f35 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c @@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) } #ifdef CONFIG_SYSCTL -static ctl_table kdump_ctl_table[] = { +static struct ctl_table kdump_ctl_table[] = { { .procname = "kdump_on_init", .data = &kdump_on_init, @@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = { { } }; -static ctl_table sys_table[] = { +static struct ctl_table sys_table[] = { { .procname = "kernel", .mode = 0555, diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 5a9ff1c..81c962b 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c @@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf; pfm_sysctl_t pfm_sysctl; EXPORT_SYMBOL(pfm_sysctl); -static ctl_table pfm_ctl_table[]={ +static struct ctl_table pfm_ctl_table[] = { { .procname = "debug", .data = &pfm_sysctl.debug, @@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={ }, {} }; -static ctl_table pfm_sysctl_dir[] = { +static struct ctl_table pfm_sysctl_dir[] = { { .procname = "perfmon", .mode = 0555, @@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = { }, {} }; -static ctl_table pfm_sysctl_root[] = { +static struct ctl_table pfm_sysctl_root[] = { { .procname = "kernel", .mode = 0555, -- 1.8.1.2.459.gbcd45b4.dirty
WARNING: multiple messages have this Message-ID (diff)
From: Joe Perches <joe@perches.com> To: linux-kernel@vger.kernel.org Cc: Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, linux-ia64@vger.kernel.org Subject: [PATCH 02/24] ia64: Convert use of typedef ctl_table to struct ctl_table Date: Tue, 22 Oct 2013 22:29:45 +0000 [thread overview] Message-ID: <afc5f51789e13121442988f18bed7539eeb912d7.1382480758.git.joe@perches.com> (raw) In-Reply-To: <cover.1382480758.git.joe@perches.com> This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> --- arch/ia64/kernel/crash.c | 4 ++-- arch/ia64/kernel/perfmon.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index b942f40..2955f35 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c @@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) } #ifdef CONFIG_SYSCTL -static ctl_table kdump_ctl_table[] = { +static struct ctl_table kdump_ctl_table[] = { { .procname = "kdump_on_init", .data = &kdump_on_init, @@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = { { } }; -static ctl_table sys_table[] = { +static struct ctl_table sys_table[] = { { .procname = "kernel", .mode = 0555, diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 5a9ff1c..81c962b 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c @@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf; pfm_sysctl_t pfm_sysctl; EXPORT_SYMBOL(pfm_sysctl); -static ctl_table pfm_ctl_table[]={ +static struct ctl_table pfm_ctl_table[] = { { .procname = "debug", .data = &pfm_sysctl.debug, @@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={ }, {} }; -static ctl_table pfm_sysctl_dir[] = { +static struct ctl_table pfm_sysctl_dir[] = { { .procname = "perfmon", .mode = 0555, @@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = { }, {} }; -static ctl_table pfm_sysctl_root[] = { +static struct ctl_table pfm_sysctl_root[] = { { .procname = "kernel", .mode = 0555, -- 1.8.1.2.459.gbcd45b4.dirty
next prev parent reply other threads:[~2013-10-22 22:30 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-22 22:29 [PATCH 00/24] treewide: Convert use of typedef ctl_table to struct ctl_table Joe Perches 2013-10-22 22:30 ` [Ocfs2-devel] " Joe Perches 2013-10-22 22:29 ` Joe Perches 2013-10-22 22:29 ` Joe Perches 2013-10-22 22:29 ` Joe Perches 2013-10-22 22:29 ` [PATCH 01/24] arm: " Joe Perches 2013-10-22 22:29 ` Joe Perches 2013-10-22 22:29 ` Joe Perches [this message] 2013-10-22 22:29 ` [PATCH 02/24] ia64: " Joe Perches 2013-10-22 22:29 ` [PATCH 03/24] s390: " Joe Perches 2013-10-25 7:18 ` Heiko Carstens 2013-10-22 22:29 ` [PATCH 04/24] tile: " Joe Perches 2013-10-22 22:29 ` [PATCH 05/24] cdrom: " Joe Perches 2013-10-22 22:29 ` [PATCH 06/24] random: " Joe Perches 2013-10-22 22:29 ` [PATCH 07/24] infiniband: " Joe Perches 2013-10-22 22:29 ` [PATCH 08/24] md: " Joe Perches 2013-10-23 0:37 ` NeilBrown 2013-10-22 22:29 ` [PATCH 09/24] parport: " Joe Perches 2013-10-22 22:29 ` [PATCH 10/24] scsi: " Joe Perches 2013-10-22 22:29 ` [PATCH 11/24] coda: " Joe Perches 2013-10-22 22:29 ` [PATCH 12/24] fscache: " Joe Perches 2013-10-22 22:29 ` [PATCH 13/24] lockd: " Joe Perches 2013-10-22 22:29 ` [PATCH 14/24] nfs: " Joe Perches 2013-10-22 22:29 ` [PATCH 15/24] inotify: " Joe Perches 2013-10-22 22:29 ` [PATCH 16/24] ntfs: " Joe Perches 2013-10-22 22:30 ` [PATCH 17/24] ocfs2: " Joe Perches 2013-10-22 22:31 ` [Ocfs2-devel] " Joe Perches 2013-11-07 11:06 ` Joel Becker 2013-11-07 11:06 ` [Ocfs2-devel] " Joel Becker 2013-10-22 22:30 ` [PATCH 18/24] proc: " Joe Perches 2013-10-22 22:30 ` [PATCH 19/24] fs: " Joe Perches 2013-10-22 22:30 ` [PATCH 20/24] key: " Joe Perches 2013-10-22 22:30 ` [PATCH 21/24] ipc: " Joe Perches 2013-10-22 22:30 ` [PATCH 22/24] kernel: " Joe Perches 2013-10-22 22:30 ` [PATCH 23/24] mm: " Joe Perches 2013-10-22 22:30 ` Joe Perches 2013-10-22 22:30 ` [PATCH 24/24] security:keys: " Joe Perches 2013-10-22 23:53 ` [PATCH 00/24] treewide: " David Daney 2013-10-22 23:53 ` [Ocfs2-devel] " David Daney 2013-10-22 23:53 ` David Daney 2013-10-22 23:53 ` David Daney 2013-10-22 23:53 ` David Daney 2013-10-22 23:58 ` Joe Perches 2013-10-22 23:58 ` [Ocfs2-devel] " Joe Perches 2013-10-22 23:58 ` Joe Perches 2013-10-22 23:58 ` Joe Perches 2013-10-22 23:58 ` Joe Perches 2013-10-22 23:58 ` Joe Perches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=afc5f51789e13121442988f18bed7539eeb912d7.1382480758.git.joe@perches.com \ --to=joe@perches.com \ --cc=fenghua.yu@intel.com \ --cc=linux-ia64@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=tony.luck@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.