diff options
| author | Akinobu Mita <[email protected]> | 2025-09-20 13:25:46 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-09-25 23:10:35 +0000 |
| commit | 06195ee967d06ead757f9291bbaf1a0b30fa10b8 (patch) | |
| tree | 32d83eebf378a6df2295e7d1b5e408fa5141c459 /drivers/gpu/drm/scheduler/sched_entity.c | |
| parent | mailmap: add entry for Bence Csókás (diff) | |
| download | kernel-06195ee967d06ead757f9291bbaf1a0b30fa10b8.tar.gz kernel-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/[email protected]
Fixes: f64539dcdb87 ("mm/damon/sysfs: use damon_call() for update_schemes_stats")
Signed-off-by: Akinobu Mita <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Cc: <[email protected]> [6.14+]
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
0 files changed, 0 insertions, 0 deletions
