Re: [PATCH v2] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Fengguang Wu
Hi Tejun, Yuantian, On Thu, Sep 10, 2015 at 10:22:14AM -0400, Tejun Heo wrote: > (cc'ing Fengguang, hi!) > > Fengguang, this is about kbuild test robot warning titled > "drivers/ata/ahci_qoriq.c:70:6: warning: 'px_cmd' may be used > uninitialized in this function". Yuantian can't reproduce the w

Re: [PATCH v2] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Tejun Heo
(cc'ing Fengguang, hi!) Fengguang, this is about kbuild test robot warning titled "drivers/ata/ahci_qoriq.c:70:6: warning: 'px_cmd' may be used uninitialized in this function". Yuantian can't reproduce the warning and I'm wondering whether the below patch would make the warning go away. Which gc

[PATCH v2] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Yuantian.Tang
From: Tang Yuantian 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