mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
sfxge(4): cleanup: improve prefast annotations
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
1f4bb1bd2a
commit
3222b9de29
4 changed files with 20 additions and 20 deletions
|
|
@ -296,11 +296,11 @@ ef10_mcdi_fini(
|
|||
|
||||
extern void
|
||||
ef10_mcdi_send_request(
|
||||
__in efx_nic_t *enp,
|
||||
__in void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in void *sdup,
|
||||
__in size_t sdu_len);
|
||||
__in efx_nic_t *enp,
|
||||
__in_bcount(hdr_len) void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in_bcount(sdu_len) void *sdup,
|
||||
__in size_t sdu_len);
|
||||
|
||||
extern __checkReturn boolean_t
|
||||
ef10_mcdi_poll_response(
|
||||
|
|
|
|||
|
|
@ -110,11 +110,11 @@ ef10_mcdi_fini(
|
|||
|
||||
void
|
||||
ef10_mcdi_send_request(
|
||||
__in efx_nic_t *enp,
|
||||
__in void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in void *sdup,
|
||||
__in size_t sdu_len)
|
||||
__in efx_nic_t *enp,
|
||||
__in_bcount(hdr_len) void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in_bcount(sdu_len) void *sdup,
|
||||
__in size_t sdu_len)
|
||||
{
|
||||
const efx_mcdi_transport_t *emtp = enp->en_mcdi.em_emtp;
|
||||
efsys_mem_t *esmp = emtp->emt_dma_mem;
|
||||
|
|
|
|||
|
|
@ -96,11 +96,11 @@ siena_mcdi_init(
|
|||
|
||||
extern void
|
||||
siena_mcdi_send_request(
|
||||
__in efx_nic_t *enp,
|
||||
__in void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in void *sdup,
|
||||
__in size_t sdu_len);
|
||||
__in efx_nic_t *enp,
|
||||
__in_bcount(hdr_len) void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in_bcount(sdu_len) void *sdup,
|
||||
__in size_t sdu_len);
|
||||
|
||||
extern __checkReturn boolean_t
|
||||
siena_mcdi_poll_response(
|
||||
|
|
|
|||
|
|
@ -54,11 +54,11 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
void
|
||||
siena_mcdi_send_request(
|
||||
__in efx_nic_t *enp,
|
||||
__in void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in void *sdup,
|
||||
__in size_t sdu_len)
|
||||
__in efx_nic_t *enp,
|
||||
__in_bcount(hdr_len) void *hdrp,
|
||||
__in size_t hdr_len,
|
||||
__in_bcount(sdu_len) void *sdup,
|
||||
__in size_t sdu_len)
|
||||
{
|
||||
efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
|
||||
efx_dword_t dword;
|
||||
|
|
|
|||
Loading…
Reference in a new issue