[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160711.124214.382443789835373290.davem@davemloft.net>
Date: Mon, 11 Jul 2016 12:42:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: rob.swindell@...adcom.com, sbaddipa@...adcom.com,
ajit.khaparde@...adcom.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning
garbage
From: Colin King <colin.king@...onical.com>
Date: Fri, 8 Jul 2016 16:42:48 +0100
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists