Re: [PATCH net v2] qed: Fix uninitialized data in aRFS infrastructure

2017-05-15 Thread David Miller
From: Yuval Mintz Date: Sun, 14 May 2017 12:21:23 +0300 > 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/qlo

Re: [PATCH net v2] qed: Fix uninitialized data in aRFS infrastructure

2017-05-15 Thread Arnd Bergmann
On Sun, May 14, 2017 at 11:21 AM, Yuval Mintz wrote: > 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/q

[PATCH net v2] qed: Fix uninitialized data in aRFS infrastructure

2017-05-14 Thread Yuval Mintz
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