summaryrefslogtreecommitdiff
path: root/kernel/rcutorture.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-24 15:37:14 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-24 15:37:14 (GMT)
commit92ea77275b5345c1300433f28689493dc4163f24 (patch)
tree8813e2453b081d700ae32b7dc6f056f2eba8ebe7 /kernel/rcutorture.c
parentdb2668fdbeb2e3c95ebadf95856c9e31a8a8d569 (diff)
downloadlinux-fsl-qoriq-92ea77275b5345c1300433f28689493dc4163f24.tar.xz
Fix crash with irqpoll due to the IRQF_IRQPOLL flag testing
With irqpoll enabled, trying to test the IRQF_IRQPOLL flag in the actions would cause a NULL pointer dereference if no action was installed (for example, the driver might have been unloaded with interrupts still pending). So be a bit more careful about testing the flag by making sure to test for that case. (The actual _change_ is trivial, the patch is more than a one-liner because I rewrote the testing to also be much more readable. Original (discarded) bugfix by Bernhard Walle. Cc: Bernhard Walle <bwalle@suse.de> Tested-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions