File ipxe-gcc6-e1000.patch of Package xen

--- /dev/null
+++ b/tools/firmware/etherboot/patches/gcc6-e1000.patch
@@ -0,0 +1,13 @@
+--- a/src/drivers/net/e1000/e1000_phy.c
++++ b/src/drivers/net/e1000/e1000_phy.c
+@@ -164,8 +164,8 @@ s32 e1000_get_phy_id(struct e1000_hw *hw
+ 
+ 	DEBUGFUNC("e1000_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
@@ -14,3 +14,4 @@ ath9k-Fix-buffer-overrun-for-ar9287.patc
 mucurses-Fix-GCC-6-nonnull-compare-errors.patch
 gcc6-via-rhine.patch
 gcc6-via-velocity.patch
+gcc6-e1000.patch
openSUSE Build Service is sponsored by