Re: [PATCH v2] IOMMU: iopte free should check wether input argument is NULL

From: Joerg Roedel
Date: Wed Mar 05 2014 - 17:47:46 EST


On Wed, Mar 05, 2014 at 06:20:19PM +0800, Zhouyi Zhou wrote:
> From: Zhouyi Zhou <zhouzhouyi@xxxxxxxxx>
>
> iopte free should check wether input argument is NULL because kmem_cache_free
> will panic on NULL argument
>
> Signed-off-by: Zhouyi Zhou <yizhouzhou@xxxxxxxxx>
> Signed-off-by: Joerg Roedel <joro@xxxxxxxxxx>
>
> ---
> drivers/iommu/omap-iommu.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/