Commit f510fc64 authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller

be2net: fix a bug in flashing the redboot section

Signed-off-by: default avatarAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5dc056c
...@@ -1855,7 +1855,7 @@ static bool be_flash_redboot(struct be_adapter *adapter, ...@@ -1855,7 +1855,7 @@ static bool be_flash_redboot(struct be_adapter *adapter,
p += crc_offset; p += crc_offset;
status = be_cmd_get_flash_crc(adapter, flashed_crc, status = be_cmd_get_flash_crc(adapter, flashed_crc,
(img_start + image_size - 4)); (image_size - 4));
if (status) { if (status) {
dev_err(&adapter->pdev->dev, dev_err(&adapter->pdev->dev,
"could not get crc from flash, not flashing redboot\n"); "could not get crc from flash, not flashing redboot\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment