diff options
| author | Javi Merino <[email protected]> | 2015-08-25 18:22:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-08-29 17:10:47 +0000 |
| commit | 9751a9e449da2a7749d89968039d532c615beeaa (patch) | |
| tree | d04a620c88f9c0107a9941bec72d9efcd8f1e98d /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | Merge branch 'for-4.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-9751a9e449da2a7749d89968039d532c615beeaa.tar.gz kernel-9751a9e449da2a7749d89968039d532c615beeaa.zip | |
thermal: power_allocator: allocate with kcalloc what you free with kfree
Commit cf736ea6f902 ("thermal: power_allocator: do not use devm*
interfaces") forgot to change a devm_kcalloc() to just kcalloc(), but
it's corresponding devm_kfree() was changed to kfree(). Allocate with
kcalloc() to match the kfree().
Fixes: cf736ea6f902 ("thermal: power_allocator: do not use devm* interfaces")
Cc: Dmitry Torokhov <[email protected]>
Cc: Eduardo Valentin <[email protected]>
Cc: Zhang Rui <[email protected]>
Signed-off-by: Javi Merino <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
