aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2016-10-20 15:15:41 +0000
committerTejun Heo <[email protected]>2016-10-20 17:40:14 +0000
commita478b097474cd9f2268ab1beaca74ff09e652b9b (patch)
treecfc4712ffb2d1edfa7b762f0c8272e71297dc27c /lib/debugobjects.c
parentahci: only try to use multi-MSI mode if there is more than 1 port (diff)
downloadkernel-a478b097474cd9f2268ab1beaca74ff09e652b9b.tar.gz
kernel-a478b097474cd9f2268ab1beaca74ff09e652b9b.zip
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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions