Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 16:30:38 +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-10@freebsd.org
Subject:   svn commit: r294019 - stable/10/sys/dev/sfxge/common
Message-ID:  <201601141630.u0EGUcdk064167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Thu Jan 14 16:30:37 2016
New Revision: 294019
URL: https://svnweb.freebsd.org/changeset/base/294019

Log:
  MFC r293819
  
  sfxge: cleanup: fix return code types
  
  Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/efx_mcdi.h
  stable/10/sys/dev/sfxge/common/hunt_nvram.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/efx_mcdi.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_mcdi.h	Thu Jan 14 16:29:33 2016	(r294018)
+++ stable/10/sys/dev/sfxge/common/efx_mcdi.h	Thu Jan 14 16:30:37 2016	(r294019)
@@ -54,7 +54,7 @@ struct efx_mcdi_req_s {
 	uint8_t		*emr_in_buf;
 	size_t		emr_in_length;
 	/* Outputs: retcode, buffer, length, and length used*/
-	int		emr_rc;
+	efx_rc_t	emr_rc;
 	uint8_t		*emr_out_buf;
 	size_t		emr_out_length;
 	size_t		emr_out_length_used;

Modified: stable/10/sys/dev/sfxge/common/hunt_nvram.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/hunt_nvram.c	Thu Jan 14 16:29:33 2016	(r294018)
+++ stable/10/sys/dev/sfxge/common/hunt_nvram.c	Thu Jan 14 16:30:37 2016	(r294019)
@@ -1103,7 +1103,7 @@ ef10_nvram_segment_write_tlv(
 	__in			boolean_t write)
 {
 	efx_rc_t rc;
-	int status;
+	efx_rc_t status;
 	size_t original_segment_size;
 	size_t modified_segment_size;
 



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