Re: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not bethe address of a structure field
From: David Woodhouse
Date: Thu Sep 05 2013 - 04:36:52 EST
On Thu, 2013-09-05 at 15:02 +0800, Duan Jiong wrote:
> err_dev_reg:
> - kfree(&b47s->mtd);
> + kfree(b47s);
> out:
> return err;
> }
Thanks, but this is already fixed in linux-next, and will be going to
Linus very shortly:
http://git.infradead.org/linux-mtd.git/commitdiff/d2b1bd1422
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation
Attachment:
smime.p7s
Description: S/MIME cryptographic signature