aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/vmd.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-07-19 23:53:26 +0000
committerKrzysztof Wilczyński <[email protected]>2024-08-13 20:07:58 +0000
commit6188a1c762eb9bbd444f47696eda77a5eae6207a (patch)
treea7af2e9ed45f1558062581075575b20a1c9b82c2 /drivers/pci/controller/vmd.c
parentLinux 6.11-rc1 (diff)
downloadkernel-6188a1c762eb9bbd444f47696eda77a5eae6207a.tar.gz
kernel-6188a1c762eb9bbd444f47696eda77a5eae6207a.zip
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
This code accidentally uses && where || was intended. It potentially results in a NULL dereference. Thus, fix the if-statement expression to use the correct condition. Fixes: 86f271f22bbb ("PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)") Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Dan Carpenter <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Siddharth Vadapalli <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions