projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc8c23
)
igb: Fix hw_dbg logging in igb_update_flash_i210
author
Hannu Lounento
<
[email protected]
>
Mon, 2 Jan 2017 17:26:06 +0000
(18:26 +0100)
committer
Jeff Kirsher
<
[email protected]
>
Fri, 6 Jan 2017 10:23:22 +0000
(
02:23
-0800)
Fix an if statement with hw_dbg lines where the logic was inverted with
regards to the corresponding return value used in the if statement.
Signed-off-by: Hannu Lounento <
[email protected]
>
Signed-off-by: Peter Senna Tschudin <
[email protected]
>
Tested-by: Aaron Brown <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/igb/e1000_i210.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/igb/e1000_i210.c
b/drivers/net/ethernet/intel/igb/e1000_i210.c
index 8aa798737d4d392f4e240948755daa0fe5decca2..07d48f2e33699e45ea385e148dd4771a4ac04e1f 100644
(file)
--- a/
drivers/net/ethernet/intel/igb/e1000_i210.c
+++ b/
drivers/net/ethernet/intel/igb/e1000_i210.c
@@
-699,9
+699,9
@@
static s32 igb_update_flash_i210(struct e1000_hw *hw)
ret_val = igb_pool_flash_update_done_i210(hw);
if (ret_val)
- hw_dbg("Flash update complete\n");
- else
hw_dbg("Flash update time out\n");
+ else
+ hw_dbg("Flash update complete\n");
out:
return ret_val;