diff options
author | Felix Manlunas <felix.manlunas@cavium.com> | 2017-02-07 21:10:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-07 21:37:43 +0100 |
commit | 76e0e70e6452b971a69cc9794ff4a6715c11f7f2 (patch) | |
tree | a9914ee97e172cb0be8b506033f81f9988f74f97 /drivers/pci/pcie/aspm.c | |
parent | bridge: avoid unnecessary read of jiffies (diff) | |
download | linux-76e0e70e6452b971a69cc9794ff4a6715c11f7f2.tar.xz linux-76e0e70e6452b971a69cc9794ff4a6715c11f7f2.zip |
liquidio: do not dereference pointer if it's NULL
Fix smatch errors by not dereferencing iq pointer if it's NULL.
See http://marc.info/?l=kernel-janitors&m=148637299004834&w=2
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/pcie/aspm.c')
0 files changed, 0 insertions, 0 deletions