summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJose Alonso <joalonsof@gmail.com>2014-01-28 08:09:46 -0700
committerJens Axboe <axboe@kernel.dk>2014-01-28 08:09:46 -0700
commit0d0b7d427987f6e98b6f32e84ee071f36f85c3d4 (patch)
tree49e20246644048c004f1b1d3c95440538465a12b /block
parent17a05cca99d952f5b4766fa48a2703548966636a (diff)
blk-mq: for_each_* macro correctness
I observed that there are for_each macros that do an extra memory access beyond the defined area. Normally this does not cause problems. But, this can cause exceptions. For example: if the area is allocated at the end of a page and the next page is not accessible. For correctness, I suggest changing the arguments of the 'for loop' like others 'for_each' do in the kernel. Signed-off-by: Jose Alonso <joalonsof@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions