diff options
| author | Paul E. McKenney <[email protected]> | 2020-07-02 19:15:37 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-08-25 01:38:37 +0000 |
| commit | de77d4da54d10df97d265e7e99112bfc2fef7d4a (patch) | |
| tree | f0bc6694bf0ea7c391e2bd90d9f3b32ba2e96209 /net/unix/af_unix.c | |
| parent | scftorture: Make symbol 'scf_torture_rand' static (diff) | |
| download | kernel-de77d4da54d10df97d265e7e99112bfc2fef7d4a.tar.gz kernel-de77d4da54d10df97d265e7e99112bfc2fef7d4a.zip | |
scftorture: Check unexpected "switch" statement value
This commit adds a "default" case to the switch statement in
scftorture_invoke_one() which contains a WARN_ON_ONCE() and an assignment
to ->scfc_out to suppress knock-on warnings. These knock-on warnings
could otherwise cause the user to think that there was a memory-ordering
problem in smp_call_function() instead of a bug in scftorture.c itself.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
