RE: [RFC 1/2] of: reserved_mem: check return value of_dma_configure

2017-11-26 Thread Peng Fan
..@vger.kernel.org; > devicet...@vger.kernel.org; van.free...@gmail.com; Peng Fan > <peng....@nxp.com> > Subject: [RFC 1/2] of: reserved_mem: check return value of_dma_configure > > In commit <7b07cbefb6>("iommu: of: Handle IOMMU lookup failure with &

[RFC 1/2] of: reserved_mem: check return value of_dma_configure

2017-11-26 Thread Peng Fan
In commit <7b07cbefb6>("iommu: of: Handle IOMMU lookup failure with deferred probing or error"), there is possibility that of_dma_configure may fail. So in of_reserved_mem_device_init_by_idx, also need to propagate the return value of_dma_configure to caller, when need to use reserved memory for a