Home
last modified time | relevance | path

Searched hist:"7168 d914a782086e217214c57ddfc7cc4b738c0c" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/remoteproc/
H A Dremoteproc_core.cdiff 7168d914a782086e217214c57ddfc7cc4b738c0c Tue Sep 25 09:01:56 CEST 2012 Dan Carpenter <dan.carpenter@oracle.com> remoteproc: fix a potential NULL-dereference on cleanup

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.

CC: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[ohad: revise commit log]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>