diff options
| author | 2025-09-20 22:25:46 +0900 | |
|---|---|---|
| committer | 2025-09-25 16:10:35 -0700 | |
| commit | 06195ee967d06ead757f9291bbaf1a0b30fa10b8 (patch) | |
| tree | 32d83eebf378a6df2295e7d1b5e408fa5141c459 /drivers/cdx/controller/cdx_controller.c | |
| parent | mailmap: add entry for Bence Csókás (diff) | |
| download | linux-rng-06195ee967d06ead757f9291bbaf1a0b30fa10b8.tar.xz linux-rng-06195ee967d06ead757f9291bbaf1a0b30fa10b8.zip | |
mm/damon/sysfs: do not ignore callback's return value in damon_sysfs_damon_call()
The callback return value is ignored in damon_sysfs_damon_call(), which
means that it is not possible to detect invalid user input when writing
commands such as 'commit' to
/sys/kernel/mm/damon/admin/kdamonds/<K>/state. Fix it.
Link: https://lkml.kernel.org/r/20250920132546.5822-1-akinobu.mita@gmail.com
Fixes: f64539dcdb87 ("mm/damon/sysfs: use damon_call() for update_schemes_stats")
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> [6.14+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
