Home Home > GIT Browse > SLE15-SP1-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2018-12-07 13:19:04 +0100
committerThomas Bogendoerfer <tbogendoerfer@suse.de>2018-12-07 13:20:21 +0100
commit97288a2b5de8709712cd395f5e6c733a295bfe58 (patch)
tree4ecec8c5e4f5ab90faf46e092f172db3030fc420
parent96b7edeaf486fd6aac55715c66224112699d332f (diff)
igb: fix uninitialized variables (bsc#1117495).
-rw-r--r--patches.drivers/igb-fix-uninitialized-variables.patch27
-rw-r--r--series.conf1
2 files changed, 28 insertions, 0 deletions
diff --git a/patches.drivers/igb-fix-uninitialized-variables.patch b/patches.drivers/igb-fix-uninitialized-variables.patch
new file mode 100644
index 0000000000..13852eca86
--- /dev/null
+++ b/patches.drivers/igb-fix-uninitialized-variables.patch
@@ -0,0 +1,27 @@
+From: Yunjian Wang <wangyunjian@huawei.com>
+Date: Tue, 6 Nov 2018 16:27:12 +0800
+Subject: igb: fix uninitialized variables
+Patch-mainline: v4.20-rc5
+Git-commit: e4c39f7926b4de355f7df75651d75003806aae09
+References: bsc#1117495
+
+This patch fixes the variable 'phy_word' may be used uninitialized.
+
+Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
+Tested-by: Aaron Brown <aaron.f.brown@intel.com>
+Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
+Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
+---
+ drivers/net/ethernet/intel/igb/e1000_i210.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/net/ethernet/intel/igb/e1000_i210.c
++++ b/drivers/net/ethernet/intel/igb/e1000_i210.c
+@@ -862,6 +862,7 @@ s32 igb_pll_workaround_i210(struct e1000
+ nvm_word = E1000_INVM_DEFAULT_AL;
+ tmp_nvm = nvm_word | E1000_INVM_PLL_WO_VAL;
+ igb_write_phy_reg_82580(hw, I347AT4_PAGE_SELECT, E1000_PHY_PLL_FREQ_PAGE);
++ phy_word = E1000_PHY_PLL_UNCONF;
+ for (i = 0; i < E1000_MAX_PLL_TRIES; i++) {
+ /* check current state directly from internal PHY */
+ igb_read_phy_reg_82580(hw, E1000_PHY_PLL_FREQ_REG, &phy_word);
diff --git a/series.conf b/series.conf
index 82539fff15..f3262b127b 100644
--- a/series.conf
+++ b/series.conf
@@ -28236,6 +28236,7 @@
patches.arch/kvm-x86-fix-kernel-info-leak-in-kvm_hc_clock_pairing-hypercall
patches.fixes/kvm-svm-ensure-an-ibpb-on-all-affected-cpus-when-freeing-a-vmcb.patch
patches.suse/0003-Btrfs-send-fix-infinite-loop-due-to-directory-rename.patch
+ patches.drivers/igb-fix-uninitialized-variables.patch
patches.drivers/ALSA-ac97-Fix-incorrect-bit-shift-at-AC97-SPSA-contr.patch
patches.drivers/ALSA-hda-Add-ASRock-N68C-S-UCC-the-power_save-blackl.patch
patches.drivers/ALSA-hda-realtek-fix-headset-mic-detection-for-MSI-M.patch