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]
Message-ID: <20131023113714.4899fd63@notabene.brown>
Date:	Wed, 23 Oct 2013 11:37:14 +1100
From:	NeilBrown <neilb@...e.de>
To:	Joe Perches <joe@...ches.com>
Cc:	linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org
Subject: Re: [PATCH 08/24] md: Convert use of typedef ctl_table to struct
 ctl_table

On Tue, 22 Oct 2013 15:29:51 -0700 Joe Perches <joe@...ches.com> wrote:

> This typedef is unnecessary and should just be removed.
> 
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
>  drivers/md/md.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 8a0d762..7b57639 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -112,7 +112,7 @@ static inline int speed_max(struct mddev *mddev)
>  
>  static struct ctl_table_header *raid_table_header;
>  
> -static ctl_table raid_table[] = {
> +static struct ctl_table raid_table[] = {
>  	{
>  		.procname	= "speed_limit_min",
>  		.data		= &sysctl_speed_limit_min,
> @@ -130,7 +130,7 @@ static ctl_table raid_table[] = {
>  	{ }
>  };
>  
> -static ctl_table raid_dir_table[] = {
> +static struct ctl_table raid_dir_table[] = {
>  	{
>  		.procname	= "raid",
>  		.maxlen		= 0,
> @@ -140,7 +140,7 @@ static ctl_table raid_dir_table[] = {
>  	{ }
>  };
>  
> -static ctl_table raid_root_table[] = {
> +static struct ctl_table raid_root_table[] = {
>  	{
>  		.procname	= "dev",
>  		.maxlen		= 0,


Applied, thanks.

NeilBrown

Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ