Mintz, Yuval aa4ad88cfc 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>
2017-05-15 14:31:27 -04:00
..
2017-05-09 15:15:47 -07:00
2017-05-09 10:01:15 -07:00
2017-05-09 15:15:47 -07:00
2017-05-09 10:07:33 -07:00
2017-05-05 18:49:20 -07:00
2017-05-09 15:40:28 -07:00
2017-05-09 10:01:15 -07:00
2017-05-04 19:15:35 -07:00
2017-05-04 19:15:35 -07:00
2017-04-30 11:45:31 -07:00
2017-05-05 18:16:23 -07:00
2017-05-09 15:15:47 -07:00
2017-05-04 19:15:35 -07:00
2017-05-09 15:15:47 -07:00
2017-05-05 19:33:07 -07:00
2017-05-09 15:15:47 -07:00
2017-05-03 12:16:25 -07:00
2017-04-27 11:54:49 +01:00
2017-05-08 19:03:25 -07:00
2017-05-02 17:34:32 -07:00
2017-05-08 19:03:25 -07:00
2017-05-09 10:01:15 -07:00
2017-05-09 15:15:47 -07:00
2017-05-09 15:15:47 -07:00
2017-05-04 19:15:35 -07:00
2017-05-01 14:13:28 -07:00
2017-05-04 19:15:35 -07:00
2017-05-09 10:01:15 -07:00
2017-05-03 12:16:25 -07:00
2017-05-08 18:49:23 -07:00
2017-05-05 19:33:07 -07:00
2017-05-05 11:36:44 -07:00
2017-05-08 19:03:25 -07:00