igb: Fix hw_dbg logging in igb_update_flash_i210

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 <hannu.lounento@ge.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Hannu Lounento 2017-01-02 18:26:06 +01:00 коммит произвёл Jeff Kirsher
Родитель 5bc8c230e2
Коммит 76ed5a8f47
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -699,9 +699,9 @@ static s32 igb_update_flash_i210(struct e1000_hw *hw)
ret_val = igb_pool_flash_update_done_i210(hw); ret_val = igb_pool_flash_update_done_i210(hw);
if (ret_val) if (ret_val)
hw_dbg("Flash update complete\n");
else
hw_dbg("Flash update time out\n"); hw_dbg("Flash update time out\n");
else
hw_dbg("Flash update complete\n");
out: out:
return ret_val; return ret_val;