[PATCH] mtd: zero out mtd_partion struct before using it

Brian Norris computersforpeace at gmail.com
Thu Nov 12 10:13:18 PST 2015


On Thu, Nov 12, 2015 at 09:52:19AM +0100, Boris Brezillon wrote:
> On Wed, 11 Nov 2015 16:47:52 -0800
> Brian Norris <computersforpeace at gmail.com> wrote:
> 
> > It's easier to guarantee we've cleared out all unused fields with
> > memset() than by manually initializing each field.
> > 
> > Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> 
> Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Pushed to l2-mtd.git/next



More information about the linux-mtd mailing list