aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorHaojian Zhuang <[email protected]>2013-02-17 19:42:48 +0800
committerLinus Walleij <[email protected]>2013-03-07 04:37:24 +0100
commitad4e1a7caf937ad395ced585ca85a7d14395dc80 (patch)
treecc24c9af0ac654084fe0e7daf903deb867d9fe4a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
gpio: fix wrong checking condition for gpio range
If index++ calculates from 0, the checking condition of "while (index++)" fails & it doesn't check any more. It doesn't follow the loop that used at here. Replace it by endless loop at here. Then it keeps parsing "gpio-ranges" property until it ends. Signed-off-by: Haojian Zhuang <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions