aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-08-25 19:22:35 +0100
committerKevin Hilman <khilman@linaro.org>2015-09-08 09:23:55 -0700
commitb5a2e2ff4bf59173be5aade35510a4a030363a81 (patch)
tree06c422475bcfe5e9519377482ca528dd4d51be29 /usr
parent3ef0b3391b510673ab51947dffeb6e6ba2ae8b01 (diff)
downloadlinux-linaro-stable-v4.1/topic/thermal.tar.gz
thermal: power_allocator: allocate with kcalloc what you free with kfreev4.1/topic/thermal
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 <dmitry.torokhov@gmail.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit 9751a9e449da2a7749d89968039d532c615beeaa) Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions