igb: Fix hw_dbg logging in igb_update_flash_i210
authorHannu Lounento <hannu.lounento@ge.com>
Mon, 2 Jan 2017 17:26:06 +0000 (18:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:23:23 +0000 (09:23 +0100)
commit0ef1e72e73fe3ac6bf4b63f6aef24eba5ef648bd
tree746248d21716ed60f06f3db0bd462136a22ab5a4
parent64da1e5ea30dab48355f24c4a2a4bfdc697297cf
igb: Fix hw_dbg logging in igb_update_flash_i210

[ Upstream commit 76ed5a8f47476e4984cc8c0c1bc4cee62650f7fd ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/igb/e1000_i210.c