mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
4f8d1bd273
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> |
||
---|---|---|
.. | ||
csio_attr.c | ||
csio_defs.h | ||
csio_hw_chip.h | ||
csio_hw_t4.c | ||
csio_hw_t5.c | ||
csio_hw.c | ||
csio_hw.h | ||
csio_init.c | ||
csio_init.h | ||
csio_isr.c | ||
csio_lnode.c | ||
csio_lnode.h | ||
csio_mb.c | ||
csio_mb.h | ||
csio_rnode.c | ||
csio_rnode.h | ||
csio_scsi.c | ||
csio_scsi.h | ||
csio_wr.c | ||
csio_wr.h | ||
Kconfig | ||
Makefile | ||
t4fw_api_stor.h |