lkml.org 
[lkml]   [2013]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field
From
Date
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]
\
 
 \ /
  Last update: 2013-09-05 11:01    [W:0.071 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site