Searched hist:a478b097474cd9f2268ab1beaca74ff09e652b9b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | ahci.c | diff a478b097474cd9f2268ab1beaca74ff09e652b9b Thu Oct 20 10:15:41 CDT 2016 Christoph Hellwig <hch@lst.de> ahci: fix nvec check
commit 17a51f12 ("ahci: only try to use multi-MSI mode if there is more than 1 port") lead to a case where nvec isn't initialized before it's used. Fix this by moving the check into the n_ports conditional.
Reported-and-reviewed-by Colin Ian King <colin.king@canonical.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>
|