diff options
author | weiyongjun (A) <[email protected]> | 2017-10-17 12:11:22 +0000 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2017-11-06 10:26:26 -0700 |
commit | 105a004e2187609a74f75d55fd0f9a054b49d60a (patch) | |
tree | 8e350aeaa7f8ab65082fb41aec6ff94f72bba7c7 /lib/test_overflow.c | |
parent | a593472591a5cf2d91244bc3f319c9dd91119343 (diff) |
iommu/ipmmu-vmsa: Fix return value check in ipmmu_find_group_dma()
In case of error, the function iommu_group_get() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: 3ae47292024f ("iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions