diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-05-30 10:22:12 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 21:52:10 +0100 |
commit | d2b1bd1422d9385cc5f463e3cc6ea0cbe7e98b70 (patch) | |
tree | 360348d1739af5da7b88c475545627bad7bfc52c /drivers/remoteproc/Makefile | |
parent | ebc6e4b6525872498fb01f5ad9c29a81b9d49831 (diff) |
mtd: bcm47xxsflash: convert kzalloc to avoid invalid access
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@huawei.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[Brian: fixed conflicts]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/remoteproc/Makefile')
0 files changed, 0 insertions, 0 deletions