aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/regulator.c
diff options
context:
space:
mode:
authorHonggyu Kim <[email protected]>2025-07-02 00:02:02 +0000
committerAndrew Morton <[email protected]>2025-07-10 04:07:55 +0000
commitf1221c8442616a6927aff836327777144545cb29 (patch)
tree61fe7a02d1ef2518052e0e11f2d956f86afb2b3e /rust/helpers/regulator.c
parentsamples/damon: fix damon sample prcl for start failure (diff)
downloadkernel-f1221c8442616a6927aff836327777144545cb29.tar.gz
kernel-f1221c8442616a6927aff836327777144545cb29.zip
samples/damon: fix damon sample wsse for start failure
The damon_sample_wsse_start() can fail so we must reset the "enable" parameter to "false" again for proper rollback. In such cases, setting Y to "enable" then N triggers the similar crash with wsse because damon sample start failed but the "enable" stays as Y. Link: https://lkml.kernel.org/r/[email protected] Fixes: b757c6cfc696 ("samples/damon/wsse: start and stop DAMON as the user requests") Signed-off-by: Honggyu Kim <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions