[PATCH] omap: iommu: fixing NULL pointer return value

2012-12-21 Thread Guillaume Aubertin
the returned NULL pointer is not detected by IS_ERR(), and then de-referenced in the calling function, omap_iommu_attach_dev(). Signed-off-by: Guillaume Aubertin g-auber...@ti.com --- drivers/iommu/omap-iommu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] omap: iommu: fixing NULL pointer return value

2012-12-21 Thread Ohad Ben-Cohen
Hi Guillaume, You should also cc Joerg and the iommu ml for iommu patches (cc'ing now). On Fri, Dec 21, 2012 at 3:36 PM, Guillaume Aubertin g-auber...@ti.com wrote: the returned NULL pointer is not detected by IS_ERR(), and then de-referenced in the calling function, omap_iommu_attach_dev().