diff options
Diffstat (limited to 'drivers/net/ethernet/sfc/siena_sriov.c')
-rw-r--r-- | drivers/net/ethernet/sfc/siena_sriov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/siena_sriov.c b/drivers/net/ethernet/sfc/siena_sriov.c index 90f8d1604f5f..8e46fac65536 100644 --- a/drivers/net/ethernet/sfc/siena_sriov.c +++ b/drivers/net/ethernet/sfc/siena_sriov.c | |||
@@ -197,8 +197,8 @@ static unsigned abs_index(struct efx_vf *vf, unsigned index) | |||
197 | static int efx_sriov_cmd(struct efx_nic *efx, bool enable, | 197 | static int efx_sriov_cmd(struct efx_nic *efx, bool enable, |
198 | unsigned *vi_scale_out, unsigned *vf_total_out) | 198 | unsigned *vi_scale_out, unsigned *vf_total_out) |
199 | { | 199 | { |
200 | u8 inbuf[MC_CMD_SRIOV_IN_LEN]; | 200 | MCDI_DECLARE_BUF(inbuf, MC_CMD_SRIOV_IN_LEN); |
201 | u8 outbuf[MC_CMD_SRIOV_OUT_LEN]; | 201 | MCDI_DECLARE_BUF(outbuf, MC_CMD_SRIOV_OUT_LEN); |
202 | unsigned vi_scale, vf_total; | 202 | unsigned vi_scale, vf_total; |
203 | size_t outlen; | 203 | size_t outlen; |
204 | int rc; | 204 | int rc; |