summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pas16.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-12-03 00:26:28 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-12-10 18:53:52 +0100
commite37390bee6fe7dfbe507a9d50cdc11344b53fa08 (patch)
treedabc3bc2f2a479a1e52980106e72bbad9ba864c5 /drivers/scsi/pas16.h
parentscsi_dh_alua: Remove stale variables (diff)
downloadlinux-e37390bee6fe7dfbe507a9d50cdc11344b53fa08.tar.xz
linux-e37390bee6fe7dfbe507a9d50cdc11344b53fa08.zip
cxlflash: a couple off by one bugs
The "> MAX_CONTEXT" should be ">= MAX_CONTEXT". Otherwise we go one step beyond the end of the cfg->ctx_tbl[] array. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pas16.h')
0 files changed, 0 insertions, 0 deletions