diff options
| author | I Hsin Cheng <[email protected]> | 2025-01-17 14:27:24 +0000 |
|---|---|---|
| committer | Yury Norov <[email protected]> | 2025-01-19 18:45:35 +0000 |
| commit | e876695aab1e3d4743e11633219cea456820660b (patch) | |
| tree | fbc357514c376c3d5260ab0f23f80d35241d3b59 /lib/fault-inject.c | |
| parent | cpu: Remove unused init_cpu_online (diff) | |
| download | kernel-e876695aab1e3d4743e11633219cea456820660b.tar.gz kernel-e876695aab1e3d4743e11633219cea456820660b.zip | |
cpumask: Rephrase comments for cpumask_any*() APIs
The cpumask_any*() APIs comment states that it returns a "random" cpu
within the given cpumask. However it's not actually random as random
itself stands a meaning for uniform distribution.
cpumask_any*() APIs are a naming convention for the caller to states that
it doesn't care which CPU it gets, so change "random" to "arbitrary" would
be more appropriate.
CC: Mark Rutland <[email protected]>
Signed-off-by: I Hsin Cheng <[email protected]>
Reviewed-by: Kuan-Wei Chiu <[email protected]>
Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
