diff options
| author | Tamir Duberstein <tamird@kernel.org> | 2025-10-23 16:59:39 +0300 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-10-23 18:21:17 +0300 |
| commit | 33ffb0aa8ce8b18aaa65e0f9346d52b4e314ad7d (patch) | |
| tree | ed78d7696e541ad8a3156d5c091f4deab88b68f0 /fs/proc/array.c | |
| parent | 173e02d674946ff3ef8da7f44a9d5b820b9af21c (diff) | |
| download | linux-33ffb0aa8ce8b18aaa65e0f9346d52b4e314ad7d.tar.xz | |
rust: opp: simplify callers of `to_c_str_array`
Use `Option` combinators to make this a bit less noisy.
Wrap the `dev_pm_opp_set_config` operation in a closure and use type
ascription to leverage the compiler to check for use after free.
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
