diff options
author | Yang Yingliang <[email protected]> | 2022-04-25 19:45:25 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-05-06 16:24:57 +0100 |
commit | b131fa8c1d2afd05d0b7598621114674289c2fbb (patch) | |
tree | 0c017e905a58d9555368297f4387ec4763278abe /include/linux/fpga/fpga-mgr.h | |
parent | d9ed8af1dee37f181096631fb03729ece98ba816 (diff) |
iommu/arm-smmu-v3: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions