svn commit: r342426 - stable/11/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Tue Dec 25 07:02:09 UTC 2018


Author: arybchik
Date: Tue Dec 25 07:02:08 2018
New Revision: 342426
URL: https://svnweb.freebsd.org/changeset/base/342426

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/11/sys/dev/sfxge/common/efx_lic.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sfxge/common/efx_lic.c
==============================================================================
--- stable/11/sys/dev/sfxge/common/efx_lic.c	Tue Dec 25 07:01:25 2018	(r342425)
+++ stable/11/sys/dev/sfxge/common/efx_lic.c	Tue Dec 25 07:02:08 2018	(r342426)
@@ -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);
 }


More information about the svn-src-all mailing list