lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 19 Jun 2013 13:47:03 -0500
From:	"H. Peter Anvin" <hpa@...or.com>
To:	mingo@...nel.org, hpa@...or.com, linux-kernel@...r.kernel.org,
	joe@...ches.com, trivial@...nel.org, tglx@...utronix.de
CC:	tip-bot for Joe Perches <tipbot@...or.com>,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/asm] x86/vdso: Convert use of typedef ctl_table to struct
 ctl_table

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@...ches.com>
> AuthorDate: Thu, 13 Jun 2013 19:37:33 -0700
> Committer:  Ingo Molnar <mingo@...nel.org>
> 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@...ches.com>
> Cc: Jiri Kosina <trivial@...nel.org>
> Link: http://lkml.kernel.org/r/a756fa0060e8eea25e8c1863c2764e86c2823617.1371177118.git.joe@perches.com
> Signed-off-by: Ingo Molnar <mingo@...nel.org>
> ---
>  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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ