net/sfc/base: fix probes in licensing support
authorMark Spender <mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:30 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit5e6602ecdb3f3ee1fd5b9b488761fc11a3b9e8da
tree257062f38dd675cbba8a5cc9f412c7149a3d58dc
parentf893aeb4ed7ffb91c4074fe75ce3fe86c174567d
net/sfc/base: 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.

Fixes: 05fce2ce8451 ("net/sfc/base: import libefx licensing")
Cc: stable@dpdk.org
Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_lic.c