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


Groups > linux.kernel > #1440847 > unrolled thread

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

Started byDavid Miller <davem@davemloft.net>
First post2016-07-11 21:50 +0200
Last post2016-07-11 21:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning  garbage David Miller <davem@davemloft.net> - 2016-07-11 21:50 +0200

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

FromDavid Miller <davem@davemloft.net>
Date2016-07-11 21:50 +0200
SubjectRe: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage
Message-ID<rTPnk-30E-27@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web