aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_lic.c
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-24 16:29:23 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-24 16:29:23 +0000
commit79ddc2246322e6157805fc0c8d735e18cdce4c6c (patch)
tree8a4250c92ed9406b9f289203bbfd404b69beac3a /sys/dev/sfxge/common/efx_lic.c
parent07542d7365672c5273d1a3392b3d4de14faacd26 (diff)
downloadsrc-79ddc2246322e6157805fc0c8d735e18cdce4c6c.tar.gz
src-79ddc2246322e6157805fc0c8d735e18cdce4c6c.zip
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. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18118
Notes
Notes: svn path=/head/; revision=340884
Diffstat (limited to 'sys/dev/sfxge/common/efx_lic.c')
-rw-r--r--sys/dev/sfxge/common/efx_lic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sfxge/common/efx_lic.c b/sys/dev/sfxge/common/efx_lic.c
index 9ab61cf69204..5c8795e12843 100644
--- a/sys/dev/sfxge/common/efx_lic.c
+++ b/sys/dev/sfxge/common/efx_lic.c
@@ -501,7 +501,7 @@ efx_lic_v1v2_find_key(
return (found);
fail1:
- EFSYS_PROBE(fail1);
+ EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
return (B_FALSE);
}
@@ -543,7 +543,7 @@ fail3:
fail2:
EFSYS_PROBE(fail2);
fail1:
- EFSYS_PROBE(fail1);
+ EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
return (B_FALSE);
}
@@ -1161,7 +1161,7 @@ fail3:
fail2:
EFSYS_PROBE(fail2);
fail1:
- EFSYS_PROBE(fail1);
+ EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
return (B_FALSE);
}