s390/dcssblk: correct out of bounds array indexes
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 19 Aug 2015 08:42:23 +0000 (10:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 19 Aug 2015 08:48:49 +0000 (10:48 +0200)
commit42cfc6b590c5eb7ae3c1de89594f8f2193ecbc97
tree80a1a9d8cf2e35b27b494d501058aeefafc3705c
parent78fb907626dccfeee6f4213c649606e9ba49c6bc
s390/dcssblk: correct out of bounds array indexes

Fix a couple of warnings like this:

[linux-4.2-rc7/drivers/s390/block/dcssblk.c:553]:
   (style) Array index 'j' is used before limits check.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dcssblk.c