Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439775

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

From Michael Chan <michael.chan@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage
Date 2016-07-08 22:10 +0200
Message-ID <rSKg2-14j-17@gated-at.bofh.it> (permalink)
References <rSGcq-6ES-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] bnxt_en: initialize rc to zero to avoid returning garbage Colin King <colin.king@canonical.com> - 2016-07-08 17:50 +0200
  Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage Michael Chan <michael.chan@broadcom.com> - 2016-07-08 22:10 +0200
  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