Date: Fri, 21 Dec 2018 16:22:12 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r342334 - stable/12/sys/dev/sfxge/common Message-ID: <201812211622.wBLGMC0Z077274@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Fri Dec 21 16:22:12 2018 New Revision: 342334 URL: https://svnweb.freebsd.org/changeset/base/342334 Log: MFC r341214 sfxge(4): fix SAL annotation for input buffers Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18245 Modified: stable/12/sys/dev/sfxge/common/ef10_impl.h stable/12/sys/dev/sfxge/common/ef10_nvram.c stable/12/sys/dev/sfxge/common/efx_impl.h stable/12/sys/dev/sfxge/common/efx_nvram.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/sfxge/common/ef10_impl.h ============================================================================== --- stable/12/sys/dev/sfxge/common/ef10_impl.h Fri Dec 21 16:21:19 2018 (r342333) +++ stable/12/sys/dev/sfxge/common/ef10_impl.h Fri Dec 21 16:22:12 2018 (r342334) @@ -440,7 +440,7 @@ ef10_nvram_partn_read( __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 Modified: stable/12/sys/dev/sfxge/common/ef10_nvram.c ============================================================================== --- stable/12/sys/dev/sfxge/common/ef10_nvram.c Fri Dec 21 16:21:19 2018 (r342333) +++ stable/12/sys/dev/sfxge/common/ef10_nvram.c Fri Dec 21 16:22:12 2018 (r342334) @@ -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; Modified: stable/12/sys/dev/sfxge/common/efx_impl.h ============================================================================== --- stable/12/sys/dev/sfxge/common/efx_impl.h Fri Dec 21 16:21:19 2018 (r342333) +++ stable/12/sys/dev/sfxge/common/efx_impl.h Fri Dec 21 16:22:12 2018 (r342334) @@ -538,7 +538,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 Modified: stable/12/sys/dev/sfxge/common/efx_nvram.c ============================================================================== --- stable/12/sys/dev/sfxge/common/efx_nvram.c Fri Dec 21 16:21:19 2018 (r342333) +++ stable/12/sys/dev/sfxge/common/efx_nvram.c Fri Dec 21 16:22:12 2018 (r342334) @@ -860,7 +860,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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812211622.wBLGMC0Z077274>