Thread (6 messages) 6 messages, 3 authors, 2015-10-16

[PATCH] ahci: qoriq: Fix a compiling warning

From: arnd@arndb.de (Arnd Bergmann)
Date: 2015-10-15 15:36:04
Also in: linux-ide, lkml

On Thursday 15 October 2015 11:11:52 Tejun Heo wrote:
On Wed, Oct 14, 2015 at 04:46:52PM +0800, Tang Yuantian wrote:
quoted
kbuild test robot reports the warnings:
drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset':
quoted
quoted
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
quoted
quoted
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:".
The original patch I sent had my Signed-off-by, see
https://lkml.org/lkml/2015/9/14/64

Tang Yuantian now submitted it properly with a full changelog text
but forgot to add the 'From: Arnd Bergmann [off-list ref]' line at
the start and the second Signed-off-by below mine.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help