linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: colin.king@canonical.com
Cc: rob.swindell@broadcom.com, sbaddipa@broadcom.com,
	ajit.khaparde@broadcom.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage
Date: Mon, 11 Jul 2016 12:42:14 -0700 (PDT)	[thread overview]
Message-ID: <20160711.124214.382443789835373290.davem@davemloft.net> (raw)
In-Reply-To: <1467992568-1990-1-git-send-email-colin.king@canonical.com>

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.

      parent reply	other threads:[~2016-07-11 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-08 15:42 [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage Colin King
2016-07-08 20:06 ` Michael Chan
2016-07-11 19:42 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160711.124214.382443789835373290.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ajit.khaparde@broadcom.com \
    --cc=colin.king@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rob.swindell@broadcom.com \
    --cc=sbaddipa@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).