Messages in this thread | | | From | Michael Chan <> | Date | Fri, 8 Jul 2016 13:06:08 -0700 | Subject | Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage |
| |
On Fri, Jul 8, 2016 at 8:42 AM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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 <colin.king@canonical.com>
Thanks.
Acked-by: Michael Chan <michael.chan@broadcom.com>
| |