Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 15:12:58 +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-12@freebsd.org
Subject:   svn commit: r342316 - stable/12/sys/dev/sfxge/common
Message-ID:  <201812211512.wBLFCw6w041652@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri Dec 21 15:12:58 2018
New Revision: 342316
URL: https://svnweb.freebsd.org/changeset/base/342316

Log:
  MFC r340884
  
  sfxge(4): fix probes in licensing support
  
  EFSYS_PROBE1 takes one typed value (in addition to the probe name),
  whereas EFSYS_PROBE has just the probe name.
  
  Which to use is determined by the probe name - "fail1" probes are
  expected to include the function result.
  
  Submitted by:   Mark Spender <mspender at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18118

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

Modified: stable/12/sys/dev/sfxge/common/efx_lic.c
==============================================================================
--- stable/12/sys/dev/sfxge/common/efx_lic.c	Fri Dec 21 15:11:52 2018	(r342315)
+++ stable/12/sys/dev/sfxge/common/efx_lic.c	Fri Dec 21 15:12:58 2018	(r342316)
@@ -522,7 +522,7 @@ efx_lic_v1v2_find_key(
 	return (found);
 
 fail1:
-	EFSYS_PROBE(fail1);
+	EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
 
 	return (B_FALSE);
 }
@@ -565,7 +565,7 @@ fail3:
 fail2:
 	EFSYS_PROBE(fail2);
 fail1:
-	EFSYS_PROBE(fail1);
+	EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
 
 	return (B_FALSE);
 }
@@ -1187,7 +1187,7 @@ fail3:
 fail2:
 	EFSYS_PROBE(fail2);
 fail1:
-	EFSYS_PROBE(fail1);
+	EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
 
 	return (B_FALSE);
 }



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