diff options
| author | Dan Carpenter <[email protected]> | 2024-09-16 14:07:26 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2024-10-01 23:27:50 +0000 |
| commit | eb8333673e1ebc2418980b664a84c91b4e98afc4 (patch) | |
| tree | ace96d76cede8215f89db3d3f18ffa977577ec17 /rust/helpers/mutex.c | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-eb8333673e1ebc2418980b664a84c91b4e98afc4.tar.gz kernel-eb8333673e1ebc2418980b664a84c91b4e98afc4.zip | |
OPP: fix error code in dev_pm_opp_set_config()
This is an error path so set the error code. Smatch complains about the
current code:
drivers/opp/core.c:2660 dev_pm_opp_set_config()
error: uninitialized symbol 'ret'.
Fixes: e37440e7e2c2 ("OPP: Call dev_pm_opp_set_opp() for required OPPs")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
