diff options
author | 2013-05-30 10:22:12 +0800 | |
---|---|---|
committer | 2013-08-30 21:52:10 +0100 | |
commit | d2b1bd1422d9385cc5f463e3cc6ea0cbe7e98b70 (patch) | |
tree | 360348d1739af5da7b88c475545627bad7bfc52c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: remove alauda driver (diff) | |
download | linux-dev-d2b1bd1422d9385cc5f463e3cc6ea0cbe7e98b70.tar.xz linux-dev-d2b1bd1422d9385cc5f463e3cc6ea0cbe7e98b70.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions