Colin Ian King
f7db2beb4c
vxge: ensure data0 is initialized in when fetching firmware version information
...
Currently variable data0 is not being initialized so a garbage value is
being passed to vxge_hw_vpath_fw_api and this value is being written to
the rts_access_steer_data0 register. There are other occurrances where
data0 is being initialized to zero (e.g. in function
vxge_hw_upgrade_read_version) so I think it makes sense to ensure data0
is initialized likewise to 0.
Detected by CoverityScan, CID#140696 ("Uninitialized scalar variable")
Fixes: 8424e00dfd
("vxge: serialize access to steering control register")
Signed-off-by: Colin Ian King <colin.king@canonical.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-12-18 22:00:40 -08:00
..
2018-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-09-18 19:57:40 -07:00
2018-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-11-19 15:13:00 -08:00
2018-11-23 17:24:24 -08:00
2018-12-14 13:35:27 -08:00
2018-09-21 19:15:15 -07:00
2018-11-30 13:18:45 -08:00
2018-11-05 17:12:58 -08:00
2018-09-12 20:24:21 -07:00
2018-12-12 16:25:14 -08:00
2018-09-21 19:02:05 -07:00
2018-12-18 16:17:48 -08:00
2018-11-30 17:20:39 -08:00
2018-12-14 13:39:39 -08:00
2018-09-21 19:15:14 -07:00
2018-11-23 22:35:38 -08:00
2018-10-21 21:10:12 -07:00
2018-10-25 06:50:48 -07:00
2018-11-21 16:57:39 -08:00
2018-12-04 20:42:35 -08:00
2018-12-16 12:07:32 -08:00
2018-09-17 07:55:19 -07:00
2018-10-29 20:43:40 -07:00
2018-09-21 19:15:15 -07:00
2018-12-10 17:34:25 -08:00
2018-12-12 15:51:50 -08:00
2018-12-18 14:48:15 -08:00
2018-10-01 22:55:36 -07:00
2018-12-18 09:17:39 -08:00
2018-09-21 19:11:39 -07:00
2018-12-18 21:35:56 -08:00
2018-10-19 11:03:06 -07:00
2018-10-25 16:20:02 -07:00
2018-12-18 22:00:40 -08:00
2018-12-10 17:45:41 -08:00
2018-10-01 22:48:08 -07:00
2018-12-14 14:42:51 -08:00
2018-10-19 17:04:38 -07:00
2018-12-18 15:43:44 -08:00
2018-11-09 19:45:48 -08:00
2018-09-12 20:24:20 -07:00
2018-12-11 22:54:19 -08:00
2018-09-25 10:35:29 -07:00
2018-10-19 10:42:19 -07:00
2018-09-12 20:24:20 -07:00
2018-09-21 19:15:14 -07:00
2018-10-25 06:50:48 -07:00
2018-09-21 19:15:14 -07:00
2018-10-21 21:10:12 -07:00
2018-11-29 10:38:39 -08:00
2018-12-18 15:45:28 -08:00
2018-09-19 21:17:58 -07:00
2018-10-22 20:20:14 -07:00
2018-09-19 23:08:36 -07:00
2018-11-27 16:22:23 -08:00
2018-10-21 21:10:12 -07:00
2018-09-19 21:17:58 -07:00
2018-09-12 20:24:21 -07:00
2018-09-12 20:24:20 -07:00
2018-09-13 08:14:33 -07:00
2018-09-13 08:14:33 -07:00
2018-11-16 19:46:49 -08:00
2018-09-13 08:14:33 -07:00