diff options
| author | Libo Chen <[email protected]> | 2013-05-30 10:22:12 +0800 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2013-08-30 21:52:10 +0100 |
| commit | d2b1bd1422d9385cc5f463e3cc6ea0cbe7e98b70 (patch) | |
| tree | 360348d1739af5da7b88c475545627bad7bfc52c /tools/perf/scripts/python/event_analyzing_sample.py | |
| 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 <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
[Brian: fixed conflicts]
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions