diff options
author | Alexis Belmonte <[email protected]> | 2024-07-12 19:26:47 +0200 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-07-15 12:38:42 +0300 |
commit | f6bd2f633b686cdd6a466a4d8484fb74492b1125 (patch) | |
tree | 925e43a2b7d86b704a30ca022e189fb11a66c21c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1e02e317470b1c68d5971e51e8c62967ec1bc828 (diff) |
platform/x86: hp-wmi: Fix implementation of the platform_profile_omen_get function
Fix ill-formed implementation of the platform_profile_omen_get function
introduced by the commit d23430233494 ("platform/x86: hp-wmi: Fix
platform profile option switch bug on Omen and Victus laptops").
platform_profile_omen_get() is .profile_get function that should set
*profile and return 0 on success.
Reported-by: Dan Carpenter <[email protected]>
Fixes: d23430233494 ("platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops")
Signed-off-by: Alexis Belmonte <[email protected]>
Reviewed-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/ZpFnV8w1558BW7iZ@alexis-pc
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions