net/sfc/base: fix result code in MCDI NVRAM update finish
authorAndy Moreton <amoreton@solarflare.com>
Thu, 16 Nov 2017 08:03:51 +0000 (08:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
Fixes: d96a34d165b1 ("net/sfc/base: import NVRAM support")
Cc: stable@dpdk.org
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_nvram.c

index 6ee2a71..14ff829 100644 (file)
@@ -921,7 +921,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));