Home
last modified time | relevance | path

Searched hist:"1 b78ac7eb6c7a8136f8a7b23c302c17a79e57517" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/lib/thermal/
H A Dcommands.cdiff 1b78ac7eb6c7a8136f8a7b23c302c17a79e57517 Tue Oct 22 10:51:43 CDT 2024 Daniel Lezcano <daniel.lezcano@linaro.org> 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>