aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2021-02-02 14:54:19 +0000
committerJoerg Roedel <[email protected]>2021-02-02 14:57:23 +0000
commit4c9fb5d9140802db4db9f66c23887f43174e113c (patch)
tree5120519342e2502df40889c08be37d997d114ead /drivers/usb/cdns3/cdns3-imx.c
parentLinux 5.11-rc6 (diff)
downloadkernel-4c9fb5d9140802db4db9f66c23887f43174e113c.tar.gz
kernel-4c9fb5d9140802db4db9f66c23887f43174e113c.zip
iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it
The dev_iommu_priv_get() needs a similar check to dev_iommu_fwspec_get() to make sure no NULL-ptr is dereferenced. Fixes: 05a0542b456e1 ("iommu/amd: Store dev_data as device iommu private data") Cc: [email protected] # v5.8+ Link: https://lore.kernel.org/r/[email protected] Reference: https://bugzilla.kernel.org/show_bug.cgi?id=211241 Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions