net/sfc/base: fix SAL annotation for input buffers

Fixes: d96a34d165 ("net/sfc/base: import NVRAM support")
Cc: stable@dpdk.org

Signed-off-by: Martin Harvey <mharvey@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Martin Harvey 2018-09-10 10:33:04 +01:00 committed by Ferruh Yigit
parent 58b1393e75
commit d0e22de5bd
4 changed files with 4 additions and 4 deletions

View File

@ -453,7 +453,7 @@ ef10_nvram_partn_write(
__in efx_nic_t *enp,
__in uint32_t partn,
__in unsigned int offset,
__out_bcount(size) caddr_t data,
__in_bcount(size) caddr_t data,
__in size_t size);
extern __checkReturn efx_rc_t

View File

@ -2000,7 +2000,7 @@ ef10_nvram_partn_write(
__in efx_nic_t *enp,
__in uint32_t partn,
__in unsigned int offset,
__out_bcount(size) caddr_t data,
__in_bcount(size) caddr_t data,
__in size_t size)
{
size_t chunk;

View File

@ -583,7 +583,7 @@ efx_mcdi_nvram_write(
__in efx_nic_t *enp,
__in uint32_t partn,
__in uint32_t offset,
__out_bcount(size) caddr_t data,
__in_bcount(size) caddr_t data,
__in size_t size);
__checkReturn efx_rc_t

View File

@ -865,7 +865,7 @@ efx_mcdi_nvram_write(
__in efx_nic_t *enp,
__in uint32_t partn,
__in uint32_t offset,
__out_bcount(size) caddr_t data,
__in_bcount(size) caddr_t data,
__in size_t size)
{
efx_mcdi_req_t req;