[PATCH] drivers/iommu: fix a null-ptr-deref bug in msm_iommu.c

2020-12-06 Thread tangzhenhao
At line 600 in drivers/iommu/msm_iommu.c, the ret-val of kzalloc should be checked to avoid null-ptr-deref bug. Signed-off-by: tangzhenhao --- drivers/iommu/msm_iommu.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index

RE: [EXTERNAL] Re: [PATCH] PCI: Mark AMD Raven iGPU ATS as broken

2020-12-06 Thread Merger, Edgar [AUTOSOL/MAS/AUGS]
Hi Alex, I believe in the patch file, this + (pdev->subsystem_device == 0x0c19 || +pdev->subsystem_device == 0x0c10)) Has to be changed to: + (pdev->subsystem_device == 0xce19 || +pdev->subsystem_device == 0xcc10))