diff options
| author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-10-22 17:51:43 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:21 +0100 |
| commit | fe122921b15af888a9fa8bff13cc2695e8be81c5 (patch) | |
| tree | fa6163dc180f18285f577add80f46cf1c8ab8cb4 /scripts/stackusage | |
| parent | e63f11b15db8e8226b72423936ba9890d44699d3 (diff) | |
| download | linux-fe122921b15af888a9fa8bff13cc2695e8be81c5.tar.gz linux-fe122921b15af888a9fa8bff13cc2695e8be81c5.tar.bz2 linux-fe122921b15af888a9fa8bff13cc2695e8be81c5.zip | |
tools/lib/thermal: Make more generic the command encoding function
[ Upstream commit 24b216b2d13568c703a76137ef54a2a9531a71d8 ]
The thermal netlink has been extended with more commands which require
an encoding with more information. The generic encoding function puts
the thermal zone id with the command name. It is the unique
parameters.
The next changes will provide more parameters to the command. Set the
scene for those new parameters by making the encoding function more
generic.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20241022155147.463475-4-daniel.lezcano@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Stable-dep-of: 7569406e95f2 ("thermal/lib: Fix memory leak on error in thermal_genl_auto()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
