From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: Re: [dpdk-stable] [PATCH 42/53] net/sfc/base: fix probes in licensing support Date: Tue, 28 Nov 2017 13:17:24 +0300 Message-ID: <638e3313-89b7-8668-c059-3d4ff39e6b21@solarflare.com> References: <1510819481-6809-1-git-send-email-arybchenko@solarflare.com> <1510819481-6809-43-git-send-email-arybchenko@solarflare.com> <0b75e6e5-b7d0-4cd5-b840-fd1208faf220@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Cc: Mark Spender , To: Ferruh Yigit , Return-path: In-Reply-To: <0b75e6e5-b7d0-4cd5-b840-fd1208faf220@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/27/2017 10:58 PM, Ferruh Yigit wrote: > On 11/16/2017 12:04 AM, Andrew Rybchenko wrote: >> From: Mark Spender >> > What has been fixed here? > If you can provide more details I can amend the commit later. 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. Thanks, Andrew. >> Fixes: 05fce2ce8451 ("net/sfc/base: import libefx licensing") >> Cc: stable@dpdk.org >> >> Signed-off-by: Mark Spender >> Signed-off-by: Andrew Rybchenko >> --- >> drivers/net/sfc/base/efx_lic.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/net/sfc/base/efx_lic.c b/drivers/net/sfc/base/efx_lic.c >> index de25c5c..cfff51a 100644 >> --- a/drivers/net/sfc/base/efx_lic.c >> +++ b/drivers/net/sfc/base/efx_lic.c >> @@ -498,7 +498,7 @@ efx_lic_v1v2_find_key( >> return (found); >> >> fail1: >> - EFSYS_PROBE(fail1); >> + EFSYS_PROBE1(fail1, boolean_t, B_FALSE); >> >> return (B_FALSE); >> } >> @@ -540,7 +540,7 @@ efx_lic_v1v2_validate_key( >> fail2: >> EFSYS_PROBE(fail2); >> fail1: >> - EFSYS_PROBE(fail1); >> + EFSYS_PROBE1(fail1, boolean_t, B_FALSE); >> >> return (B_FALSE); >> } >> @@ -1158,7 +1158,7 @@ efx_lic_v3_validate_key( >> fail2: >> EFSYS_PROBE(fail2); >> fail1: >> - EFSYS_PROBE(fail1); >> + EFSYS_PROBE1(fail1, boolean_t, B_FALSE); >> >> return (B_FALSE); >> } >>