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
This commit is contained in:
parent
803df17640
commit
dcb3bd6900
@ -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 @@ efx_lic_v1v2_validate_key(
|
||||
fail2:
|
||||
EFSYS_PROBE(fail2);
|
||||
fail1:
|
||||
EFSYS_PROBE(fail1);
|
||||
EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
|
||||
|
||||
return (B_FALSE);
|
||||
}
|
||||
@ -1161,7 +1161,7 @@ efx_lic_v3_validate_key(
|
||||
fail2:
|
||||
EFSYS_PROBE(fail2);
|
||||
fail1:
|
||||
EFSYS_PROBE(fail1);
|
||||
EFSYS_PROBE1(fail1, boolean_t, B_FALSE);
|
||||
|
||||
return (B_FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user