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
..
2013-04-30 15:21:02 -07:00
2013-04-30 16:13:36 -07:00
2013-04-29 13:26:48 -04:00
2013-05-01 13:20:04 -07:00
2013-04-30 17:04:08 -07:00
2013-05-01 14:08:52 -07:00
2013-04-30 17:37:43 -07:00
2013-04-30 15:21:02 -07:00
2013-04-30 08:15:40 -07:00
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-04-30 09:36:50 -07:00
2013-04-22 20:32:51 -04:00
2013-04-30 10:00:49 -07:00
2013-04-29 09:30:25 -07:00
2013-04-30 17:04:04 -07:00
2013-04-29 09:40:35 -07:00
2013-04-30 15:21:02 -07:00
2013-04-30 09:37:55 -07:00
2013-04-30 08:41:21 -07:00
2013-04-30 15:15:24 -07:00
2013-04-30 09:36:50 -07:00
2013-04-28 01:54:49 +02:00
2013-05-01 14:08:52 -07:00
2013-05-01 13:20:04 -07:00
2013-04-30 08:40:35 -07:00
2013-04-30 09:36:50 -07:00
2013-05-01 14:08:52 -07:00
2013-04-29 18:28:43 -07:00
2013-04-30 14:49:36 +10:00
2013-05-01 14:08:52 -07:00
2013-04-30 17:04:08 -07:00
2013-04-30 17:04:04 -07:00
2013-04-30 15:15:24 -07:00
2013-04-30 09:36:50 -07:00
2013-04-29 18:28:42 -07:00
2013-04-19 10:05:39 -07:00
2013-05-01 14:08:52 -07:00
2013-04-16 00:39:41 +02:00
2013-05-01 14:08:52 -07:00
2013-05-01 14:08:52 -07:00
2013-04-26 17:01:35 +02:00
2013-04-28 01:53:50 +02:00
2013-04-28 01:54:41 +02:00
2013-04-30 15:15:24 -07:00
2013-04-30 17:04:08 -07:00
2013-04-28 02:13:50 +01:00
2013-04-30 09:36:50 -07:00
2013-04-29 18:28:13 -07:00
2013-04-30 09:36:50 -07:00
2013-05-01 14:08:52 -07:00
2013-05-02 07:37:10 -07:00
2013-04-29 16:38:41 -07:00
2013-04-26 08:42:22 -04:00
2013-05-01 14:08:52 -07:00
2013-04-25 01:05:28 -07:00
2013-05-01 13:20:04 -07:00
2013-05-01 13:20:04 -07:00
2013-04-29 18:28:43 -07:00
2013-04-29 09:30:25 -07:00
2013-05-01 14:08:52 -07:00
2013-04-30 09:36:50 -07:00
2013-04-30 17:04:08 -07:00
2013-04-30 17:04:01 -07:00
2013-04-30 17:04:09 -07:00
2013-04-29 12:19:23 -07:00