Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 06:56:04 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r342419 - stable/11/sys/dev/sfxge/common
Message-ID:  <201812250656.wBP6u45l029177@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Tue Dec 25 06:56:04 2018
New Revision: 342419
URL: https://svnweb.freebsd.org/changeset/base/342419

Log:
  MFC r340814
  
  sfxge(4): fix result code in MCDI NVRAM update finish
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18084

Modified:
  stable/11/sys/dev/sfxge/common/efx_nvram.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sfxge/common/efx_nvram.c
==============================================================================
--- stable/11/sys/dev/sfxge/common/efx_nvram.c	Tue Dec 25 06:55:13 2018	(r342418)
+++ stable/11/sys/dev/sfxge/common/efx_nvram.c	Tue Dec 25 06:56:04 2018	(r342419)
@@ -924,7 +924,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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812250656.wBP6u45l029177>