linux/drivers/net/ethernet/neterion
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
..
vxge vxge: ensure data0 is initialized in when fetching firmware version information 2018-12-18 22:00:40 -08:00
Kconfig net: change Exar/Neterion menu items to be alphabetical 2018-08-01 09:49:02 -07:00
Makefile
s2io-regs.h
s2io.c net: neterion: remove redundant continue 2018-09-21 09:00:55 -07:00
s2io.h net: neterion: s2io: Use linux/io-64-nonatomic-lo-hi.h 2018-09-18 20:06:23 -07:00