Module: xenomai-3
Branch: next
Commit: fd71f0895c471bc3d72ca218f66812f42bd93cc9
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fd71f0895c471bc3d72ca218f66812f42bd93cc9

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Aug  7 11:29:06 2016 +0200

net/drivers/e1000: work around UMR issue

---

 kernel/drivers/net/drivers/e1000/e1000_hw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/drivers/e1000/e1000_hw.c 
b/kernel/drivers/net/drivers/e1000/e1000_hw.c
index 311d48d..d974653 100644
--- a/kernel/drivers/net/drivers/e1000/e1000_hw.c
+++ b/kernel/drivers/net/drivers/e1000/e1000_hw.c
@@ -8804,7 +8804,7 @@ e1000_verify_write_ich8_byte(struct e1000_hw *hw, 
uint32_t index, uint8_t byte)
 {
     int32_t error = E1000_SUCCESS;
     int32_t program_retries;
-    uint8_t temp_byte;
+    uint8_t temp_byte = 0;
 
     e1000_write_ich8_byte(hw, index, byte);
     usec_delay(100);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to