From: ryabinin.a.a@gmail.com (Andrey Ryabinin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: kasan: fix issues reported by sparse
Date: Tue, 13 Oct 2015 16:26:16 +0300 [thread overview]
Message-ID: <561D0678.2010609@gmail.com> (raw)
In-Reply-To: <1444741266-21335-1-git-send-email-will.deacon@arm.com>
On 10/13/2015 04:01 PM, Will Deacon wrote:
> Sparse reports some new issues introduced by the kasan patches:
>
> arch/arm64/mm/kasan_init.c:91:13: warning: no previous prototype for
> 'kasan_early_init' [-Wmissing-prototypes] void __init kasan_early_init(void)
> ^
> arch/arm64/mm/kasan_init.c:91:13: warning: symbol 'kasan_early_init'
> was not declared. Should it be static? [sparse]
>
> This patch resolves the problem by adding a prototype for
> kasan_early_init and marking the function as asmlinkage, since it's only
> called from head.S.
>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
prev parent reply other threads:[~2015-10-13 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-13 13:01 [PATCH] arm64: kasan: fix issues reported by sparse Will Deacon
2015-10-13 13:26 ` Andrey Ryabinin [this message]
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=561D0678.2010609@gmail.com \
--to=ryabinin.a.a@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).