summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/qdio_main.c
diff options
context:
space:
mode:
authorJose Alonso <joalonsof@gmail.com>2014-01-26 10:54:18 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-01-29 08:07:50 (GMT)
commitdbb0dd021dc282fe65c4f66c86821419850c43cc (patch)
treeedec0ead192954a9bc632f56c0fe4c7f619223b8 /drivers/s390/cio/qdio_main.c
parent0e47c969c65e213421450c31043353ebe3c67e0c (diff)
downloadlinux-dbb0dd021dc282fe65c4f66c86821419850c43cc.tar.xz
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 'drivers/s390/cio/qdio_main.c')
0 files changed, 0 insertions, 0 deletions