sfxge(4): fix result code in MCDI NVRAM update finish
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18084
This commit is contained in:
parent
9eb349ba37
commit
3ae96b4aea
@ -926,7 +926,7 @@ efx_mcdi_nvram_update_finish(
|
||||
efx_mcdi_req_t req;
|
||||
uint8_t payload[MAX(MC_CMD_NVRAM_UPDATE_FINISH_V2_IN_LEN,
|
||||
MC_CMD_NVRAM_UPDATE_FINISH_V2_OUT_LEN)];
|
||||
uint32_t result = 0; /* FIXME: use MC_CMD_NVRAM_VERIFY_RC_UNKNOWN */
|
||||
uint32_t result = MC_CMD_NVRAM_VERIFY_RC_UNKNOWN;
|
||||
efx_rc_t rc;
|
||||
|
||||
(void) memset(payload, 0, sizeof (payload));
|
||||
|
Loading…
Reference in New Issue
Block a user