Messages in this thread | | | Subject | Re: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field | From | David Woodhouse <> | Date | Thu, 05 Sep 2013 09:36:42 +0100 |
| |
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@intel.com Intel Corporation [unhandled content-type:application/x-pkcs7-signature] | |