diff options
author | 2020-10-09 19:51:55 -0700 | |
---|---|---|
committer | 2020-11-06 17:13:57 -0800 | |
commit | a7eb937b67b64b8b4645f1ebca3ac2079c6de81b (patch) | |
tree | 37a9c9aa377bef48b7075450da31cee4590c1a80 /drivers/usb/cdns3/cdns3-imx.c | |
parent | locktorture: Invoke percpu_free_rwsem() to do percpu-rwsem cleanup (diff) | |
download | linux-dev-a7eb937b67b64b8b4645f1ebca3ac2079c6de81b.tar.xz linux-dev-a7eb937b67b64b8b4645f1ebca3ac2079c6de81b.zip |
rcutorture: Don't do need_resched() testing if ->sync is NULL
If cur_ops->sync is NULL, rcu_torture_fwd_prog_nr() will nevertheless
attempt to call through it. This commit therefore flags cases where
neither need_resched() nor call_rcu() forward-progress testing
can be performed due to NULL function pointers, and also causes
rcu_torture_fwd_prog_nr() to take an early exit if cur_ops->sync()
is NULL.
Reported-by: Tom Rix <trix@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions