[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLiknzsGV9ByNEecszKwWRLa=OFb261rGkdLw5Yn5yU3y4A@mail.gmail.com>
Date: Fri, 8 Jul 2016 13:06:08 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Rob Swindell <rob.swindell@...adcom.com>,
Satish Baddipadige <sbaddipa@...adcom.com>,
Ajit Khaparde <ajit.khaparde@...adcom.com>,
Netdev <netdev@...r.kernel.org>, linux-kernel@...r.kernel.org
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@...onical.com> wrote:
> 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>
Thanks.
Acked-by: Michael Chan <michael.chan@...adcom.com>
Powered by blists - more mailing lists