linux_dsm_epyc7002/drivers/scsi/csiostor
Dan Carpenter 4f8d1bd273 [SCSI] csiostor: off by one error
We need to store PROTO_ERR_IMPL_LOGO (26) things here, but the
first element isn't used so the array should have 27 elements.
This matches fwevt_to_rnevt[] which has 27 elements.

The patch solves a Smatch static checker warning on my system:
drivers/scsi/csiostor/csio_rnode.c:880 csio_rnode_fwevt_handler()
	error: buffer overflow '(rn)->stats.n_evt_fw' 26 <= 26

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Naresh Kumar Inna <naresh@chelsio.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-02 07:37:10 -07:00
..
csio_attr.c
csio_defs.h
csio_hw_chip.h csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_hw_t4.c csiostor: Segregate T4 adapter operations. 2013-03-14 11:36:00 -04:00
csio_hw_t5.c csiostor: Add T5 adapter operations. 2013-03-14 11:36:00 -04:00
csio_hw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
csio_hw.h csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_init.c csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_init.h csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_isr.c
csio_lnode.c [SCSI] csiostor: remove unneeded memset() 2012-11-30 15:42:55 +00:00
csio_lnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_mb.c treewide: Fix typo in printk and comments 2013-04-24 16:43:00 +02:00
csio_mb.h
csio_rnode.c csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_rnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_scsi.c
csio_scsi.h
csio_wr.c csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_wr.h
Kconfig
Makefile csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
t4fw_api_stor.h RDMA/cxgb4: Fix LE hash collision bug for active open connection 2012-12-19 23:02:43 -08:00