Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage

2016-07-11 Thread David Miller
From: Colin King Date: Fri, 8 Jul 2016 16:42:48 +0100 > From: Colin Ian King > > rc is not initialized so it can contain garbage if it is not > set by the call to bnxt_read_sfp_module_eeprom_info. Ensure > garbage is not returned by

Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage

2016-07-08 Thread Michael Chan
On Fri, Jul 8, 2016 at 8:42 AM, Colin King wrote: > From: Colin Ian King > > rc is not initialized so it can contain garbage if it is not > set by the call to bnxt_read_sfp_module_eeprom_info. Ensure > garbage is not returned by initializing rc

[PATCH] bnxt_en: initialize rc to zero to avoid returning garbage

2016-07-08 Thread Colin King
From: Colin Ian King rc is not initialized so it can contain garbage if it is not set by the call to bnxt_read_sfp_module_eeprom_info. Ensure garbage is not returned by initializing rc to 0. Signed-off-by: Colin Ian King ---