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:
parent
58b1393e75
commit
d0e22de5bd
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user