diff options
author | Mintz, Yuval | 2017-05-14 11:21:23 +0200 |
---|---|---|
committer | David S. Miller | 2017-05-15 20:31:27 +0200 |
commit | aa4ad88cfcd4ee45f527fb982140576711e3b501 (patch) | |
tree | 586f932ca41323471d46c8ef1d3b3f12c030c41b /net/ipv6/addrconf.c | |
parent | mdio: mux: fix device_node_continue.cocci warnings (diff) | |
download | kernel-qcow2-linux-aa4ad88cfcd4ee45f527fb982140576711e3b501.tar.gz kernel-qcow2-linux-aa4ad88cfcd4ee45f527fb982140576711e3b501.tar.xz kernel-qcow2-linux-aa4ad88cfcd4ee45f527fb982140576711e3b501.zip |
qed: Fix uninitialized data in aRFS infrastructure
Current memset is using incorrect type of variable, causing the
upper-half of the strucutre to be left uninitialized and causing:
ethernet/qlogic/qed/qed_init_fw_funcs.c: In function 'qed_set_rfs_mode_disable':
ethernet/qlogic/qed/qed_init_fw_funcs.c:993:3: error: '*((void *)&ramline+4)' is used uninitialized in this function [-Werror=uninitialized]
Fixes: d51e4af5c209 ("qed: aRFS infrastructure support")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions