Skip to contentSkip to conversation

be2net: fix a bug in flashing the redboot section

PATCH Applied Ajit Khaparde 2 participants 2 messages Mar 31, 2010 – Apr 2, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 be2net: fix a bug in flashing the redboot section

---
 drivers/net/benet/be_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/benet/be_main.c +1 -1
index 43e8032..a08faf3 100644
@@ -1855,7 +1855,7 @@ static bool be_flash_redboot(struct be_adapter *adapter,
 	p += crc_offset;
 
 	status = be_cmd_get_flash_crc(adapter, flashed_crc,
-			(img_start + image_size - 4));
+			(image_size - 4));
 	if (status) {
 		dev_err(&adapter->pdev->dev,
 		"could not get crc from flash, not flashing redboot\n");
Signature · 1 line
1.6.3.3