[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130822193949.GA14837@ld-irv-0074.broadcom.com>
Date: Thu, 22 Aug 2013 12:39:49 -0700
From: Brian Norris <computersforpeace@...il.com>
To: Libo Chen <clbchenlibo.chen@...wei.com>
Cc: dwmw2@...radead.org, Andy Shevchenko <andy.shevchenko@...il.com>,
Li Zefan <lizefan@...wei.com>,
artem.bityutskiy@...ux.intel.com,
Rafał Miłecki <zajec5@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Bill Pemberton <wfp5p@...ginia.edu>,
linux-mtd@...ts.infradead.org, hauke@...ke-m.de
Subject: Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid
invalid access
On Thu, May 30, 2013 at 10:22:12AM +0800, Libo Chen wrote:
>
> mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member.
> So I use devm_kazlloc instead of kazlloc to avoid it.
>
> * Changelog:
> convert to devm_kzalloc
>
> Signed-off-by: Libo chen <libo.chen@...wei.com>
> Suggested-by: Andy Shevchenko <andy.shevchenko@...il.com>
Resolved a conflict and pushed to l2-mtd.git. Thanks!
Brian
--
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