From: tj@kernel.org (Tejun Heo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ahci: qoriq: Fix a compiling warning
Date: Thu, 15 Oct 2015 11:11:52 -0400 [thread overview]
Message-ID: <20151015151152.GB27717@mtj.duckdns.org> (raw)
In-Reply-To: <1444812412-33321-1-git-send-email-Yuantian.Tang@freescale.com>
Hello,
On Wed, Oct 14, 2015 at 04:46:52PM +0800, Tang Yuantian wrote:
> kbuild test robot reports the warnings:
> drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset':
> >> include/asm-generic/io.h:163:2: warning: 'px_is' may be used
> >> uninitialized in this function [-Wuninitialized]
> drivers/ata/ahci_qoriq.c:70:14: note: 'px_is' was declared here
> >> include/asm-generic/io.h:163:2: warning: 'px_cmd' may be used
> >> uninitialized in this function [-Wuninitialized]
> drivers/ata/ahci_qoriq.c:70:6: note: 'px_cmd' was declared here
>
> This patch fixed it by introducing a local variable.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Hmmm... why is the patch signed off by Arnd? You can't sign off for
other people. If this was suggested by Arnd, please use
"Suggested-by:" or "Original-patch-by:".
Thanks.
--
tejun
next prev parent reply other threads:[~2015-10-15 15:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 8:46 [PATCH] ahci: qoriq: Fix a compiling warning Tang Yuantian
2015-10-15 15:11 ` Tejun Heo [this message]
2015-10-15 15:35 ` Arnd Bergmann
2015-10-15 16:04 ` Tejun Heo
2015-10-15 19:42 ` Arnd Bergmann
2015-10-16 2:12 ` Yuantian Tang
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=20151015151152.GB27717@mtj.duckdns.org \
--to=tj@kernel.org \
--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