aboutsummaryrefslogtreecommitdiff
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorGravatar Dan Carpenter <dan.carpenter@oracle.com> 2018-06-20 13:45:05 +0300
committerGravatar Jens Axboe <axboe@kernel.dk> 2018-06-20 11:26:04 -0600
commita1e79188628580465ac6d7a93a313336ee3364f1 (patch)
treec77e8c6c014a97674114c779134b82bdba497ece /lib/irq_poll.c
parentRevert "block: Add warning for bi_next not NULL in bio_endio()" (diff)
downloadlinux-a1e79188628580465ac6d7a93a313336ee3364f1.tar.gz
linux-a1e79188628580465ac6d7a93a313336ee3364f1.tar.bz2
linux-a1e79188628580465ac6d7a93a313336ee3364f1.zip
blk-mq-debugfs: Off by one in blk_mq_rq_state_name()
If rq_state == ARRAY_SIZE() then we read one element beyond the end of the blk_mq_rq_state_name_array[] array. Fixes: ec6dcf63c55c ("blk-mq-debugfs: Show more request state information") Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions