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>] [day] [month] [year] [list]
Message-ID: <521216E0.8000701@linaro.org>
Date:	Mon, 19 Aug 2013 21:00:16 +0800
From:	Hanjun Guo <hanjun.guo@...aro.org>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC:	Hanjun Guo <hanjun.guo@...aro.org>, linux-kernel@...r.kernel.org,
	patches@...aro.org, linaro-kernel@...ts.linaro.org
Subject: Re: [PATCH 1/3] drivers / base: Fix sysfs_deprecated_setup() __init
 attribute location

Hi Greg,

I sent [PATCH 3/3] twice because of my bad email client,
sorry for the noise, please ignore the duplicated [PATCH 3/3].

Thanks
Hanjun

On 2013-8-17 20:42, Hanjun Guo wrote:
> __init belongs after the return type on functions, not before it.
> 
> Signed-off-by: Hanjun Guo <hanjun.guo@...aro.org>
> ---
>  drivers/base/core.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 8856d74..b9ccc5d 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -36,7 +36,7 @@ long sysfs_deprecated = 1;
>  #else
>  long sysfs_deprecated = 0;
>  #endif
> -static __init int sysfs_deprecated_setup(char *arg)
> +static int __init sysfs_deprecated_setup(char *arg)
>  {
>  	return strict_strtol(arg, 10, &sysfs_deprecated);
>  }
> 

--
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