Re: [tip:x86/asm] x86/vdso: Convert use of typedef ctl_table to structctl_table

From: H. Peter Anvin
Date: Wed Jun 19 2013 - 14:48:04 EST


Shouldn't this actually remove the typedef?

-hpa

On 06/19/2013 01:43 PM, tip-bot for Joe Perches wrote:
> Commit-ID: f07d91ede6f346cbe31bb814cefe2584940b96f3
> Gitweb: http://git.kernel.org/tip/f07d91ede6f346cbe31bb814cefe2584940b96f3
> Author: Joe Perches <joe@xxxxxxxxxxx>
> AuthorDate: Thu, 13 Jun 2013 19:37:33 -0700
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Wed, 19 Jun 2013 15:06:09 +0200
>
> x86/vdso: Convert use of typedef ctl_table to struct ctl_table
>
> This typedef is unnecessary and should just be removed.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> Cc: Jiri Kosina <trivial@xxxxxxxxxx>
> Link: http://lkml.kernel.org/r/a756fa0060e8eea25e8c1863c2764e86c2823617.1371177118.git.joe@xxxxxxxxxxx
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> arch/x86/vdso/vdso32-setup.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c
> index 0faad64..d6bfb87 100644
> --- a/arch/x86/vdso/vdso32-setup.c
> +++ b/arch/x86/vdso/vdso32-setup.c
> @@ -372,7 +372,7 @@ subsys_initcall(sysenter_setup);
> /* Register vsyscall32 into the ABI table */
> #include <linux/sysctl.h>
>
> -static ctl_table abi_table2[] = {
> +static struct ctl_table abi_table2[] = {
> {
> .procname = "vsyscall32",
> .data = &sysctl_vsyscall32,
> @@ -383,7 +383,7 @@ static ctl_table abi_table2[] = {
> {}
> };
>
> -static ctl_table abi_root_table2[] = {
> +static struct ctl_table abi_root_table2[] = {
> {
> .procname = "abi",
> .mode = 0555,
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/