Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1440847
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage |
| Date | 2016-07-11 21:50 +0200 |
| Message-ID | <rTPnk-30E-27@gated-at.bofh.it> (permalink) |
| References | <rSGcq-6ES-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Colin King <colin.king@canonical.com> Date: Fri, 8 Jul 2016 16:42:48 +0100 > 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> Applied, thanks.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage David Miller <davem@davemloft.net> - 2016-07-11 21:50 +0200
csiph-web