From: Hanjun Guo <hanjun.guo@linaro.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hanjun Guo <hanjun.guo@linaro.org>,
linux-kernel@vger.kernel.org, patches@linaro.org,
linaro-kernel@lists.linaro.org
Subject: Re: [PATCH 1/3] drivers / base: Fix sysfs_deprecated_setup() __init attribute location
Date: Mon, 19 Aug 2013 21:00:16 +0800 [thread overview]
Message-ID: <521216E0.8000701@linaro.org> (raw)
In-Reply-To: <1376743346-9465-1-git-send-email-hanjun.guo@linaro.org>
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@linaro.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);
> }
>
parent reply other threads:[~2013-08-19 13:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1376743346-9465-1-git-send-email-hanjun.guo@linaro.org>]
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=521216E0.8000701@linaro.org \
--to=hanjun.guo@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@linaro.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox