Skip to content
Commit a20b4f2b authored by Subbaraya Sundeep's avatar Subbaraya Sundeep Committed by Ruiqiang Hao
Browse files

octeontx2-pf: Dereference only a valid pointer



commit 782463ee26fceceae04adaf4b84be77f2684815e from
git@git.assembla.com:cavium/WindRiver.linux.git

iommu_domain can be NULL hence check for non
NULL pointer before dereferencing it.

Change-Id: Iff01276a67f35954f1556b731d43339d152e268d
Signed-off-by: default avatarSubbaraya Sundeep <sbhatta@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/20065


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent e3aea901
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment