[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130528122754.GD2575@8bytes.org>
Date: Tue, 28 May 2013 14:27:55 +0200
From: Joerg Roedel <joro@...tes.org>
To: Libo Chen <clbchenlibo.chen@...wei.com>
Cc: ohad@...ery.com, joerg.roedel@....com, davidb@...eaurora.org,
LKML <linux-kernel@...r.kernel.org>, Varun.Sethi@...escale.com,
iommu@...ts.linux-foundation.org, mingo@...nel.org,
ddutile@...hat.com
Subject: Re: [PATCH] msm: iommu: fix leak and invalid access
On Wed, May 22, 2013 at 01:58:39PM +0800, Libo Chen wrote:
> >
> > This patch merge two patch that I sended before:
> > 1. msm: iommu: add missing platform_device_unregister() in err case
> > 2. msm: iommu: no need kfree before kzalloc successful
> >
> > It fixes two obvious problems:
> > 1. We have registered msm_iommu_driver first, and need unregister it when
> > registered msm_iommu_ctx_driver fail
> >
> > 2. We don`t need to kfree drvdata before kzalloc successful
> >
> > Signed-off-by: Libo Chen <libo.chen@...wei.com>
> > ---
> > drivers/iommu/msm_iommu_dev.c | 11 +++++------
> > 1 files changed, 5 insertions(+), 6 deletions(-)
Has this patch already been handled? If not please resend it to me and I
will take care of it.
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists