File ipxe-gcc6-igb.patch of Package xen

--- /dev/null
+++ b/tools/firmware/etherboot/patches/gcc6-igb.patch
@@ -0,0 +1,13 @@
+--- a/src/drivers/net/igb/igb_phy.c
++++ b/src/drivers/net/igb/igb_phy.c
+@@ -88,8 +88,8 @@ s32 igb_get_phy_id(struct e1000_hw *hw)
+ 
+ 	DEBUGFUNC("igb_get_phy_id");
+ 
+-	if (!(phy->ops.read_reg))
+-		goto out;
++		if (!(phy->ops.read_reg))
++			goto out;
+ 
+ 		ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
+ 		if (ret_val)
--- a/tools/firmware/etherboot/patches/series
+++ b/tools/firmware/etherboot/patches/series
@@ -15,3 +15,4 @@ mucurses-Fix-GCC-6-nonnull-compare-error
 gcc6-via-rhine.patch
 gcc6-via-velocity.patch
 gcc6-e1000.patch
+gcc6-igb.patch
openSUSE Build Service is sponsored by