summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-09-25 11:01:56 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 19:32:28 +0400
commitcbc7a8263c6e2d8f7354b4c06e21607d6dffd6bd (patch)
treedc47260c488d72f41f15356e157a67dbacd3aeb9 /drivers/infiniband
parentabe988511dc075dab47ba9283c791299f7285aaa (diff)
downloadlinux-cbc7a8263c6e2d8f7354b4c06e21607d6dffd6bd.tar.xz
remoteproc: fix a potential NULL-dereference on cleanup
commit 7168d914a782086e217214c57ddfc7cc4b738c0c upstream. We only need to allocate mapping if there is an IOMMU domain. Otherwise, when the mappings are released, the assumption that an IOMMU domain is there will crash and burn. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [ohad: revise commit log] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions