From: Jose Alonso Date: Tue, 28 Jan 2014 15:09:46 +0000 (-0700) Subject: blk-mq: for_each_* macro correctness X-Git-Tag: v3.14-rc1~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d0b7d427987f6e98b6f32e84ee071f36f85c3d4;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed