summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-scsi.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-10-14 16:46:52 +0800
committerTejun Heo <tj@kernel.org>2015-10-15 12:03:00 -0400
commiteb351031a15c4a83b9955aadad783c6672ab8868 (patch)
treee0adbd017457348e2353699a498d2ae9b2a4788e /drivers/ata/libata-scsi.c
parent3a53b3bcc7af2f7ddfb682cb8efb26e40fe50fb1 (diff)
downloadop-kernel-dev-eb351031a15c4a83b9955aadad783c6672ab8868.zip
op-kernel-dev-eb351031a15c4a83b9955aadad783c6672ab8868.tar.gz
ahci: qoriq: Fix a compiling warning
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> Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud