aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_main.c
diff options
context:
space:
mode:
authorJose Alonso <joalonsof@gmail.com>2014-01-26 08:54:18 -0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-01-29 09:07:50 +0100
commitdbb0dd021dc282fe65c4f66c86821419850c43cc (patch)
treeedec0ead192954a9bc632f56c0fe4c7f619223b8 /drivers/s390/cio/qdio_main.c
parentMerge tag 'for-linus-20140127' of git://git.infradead.org/linux-mtd (diff)
downloadlinux-dev-dbb0dd021dc282fe65c4f66c86821419850c43cc.tar.xz
linux-dev-dbb0dd021dc282fe65c4f66c86821419850c43cc.zip
s390/qdio: 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: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions