Date: Wed, 11 May 2016 06:28:08 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299410 - head/sys/dev/sfxge/common Message-ID: <201605110628.u4B6S8Jv041873@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Wed May 11 06:28:08 2016 New Revision: 299410 URL: https://svnweb.freebsd.org/changeset/base/299410 Log: sfxge(4): fix efx_filter_reconfigure parameter type This caused signed/unsigned errors in some subsequent patches. The only value passed to this is a uint32_t. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6294 Modified: head/sys/dev/sfxge/common/efx_filter.c head/sys/dev/sfxge/common/efx_impl.h head/sys/dev/sfxge/common/hunt_filter.c head/sys/dev/sfxge/common/hunt_impl.h Modified: head/sys/dev/sfxge/common/efx_filter.c ============================================================================== --- head/sys/dev/sfxge/common/efx_filter.c Wed May 11 06:27:46 2016 (r299409) +++ head/sys/dev/sfxge/common/efx_filter.c Wed May 11 06:28:08 2016 (r299410) @@ -248,7 +248,7 @@ efx_filter_reconfigure( __in boolean_t all_mulcst, __in boolean_t brdcst, __in_ecount(6*count) uint8_t const *addrs, - __in int count) + __in uint32_t count) { efx_rc_t rc; Modified: head/sys/dev/sfxge/common/efx_impl.h ============================================================================== --- head/sys/dev/sfxge/common/efx_impl.h Wed May 11 06:27:46 2016 (r299409) +++ head/sys/dev/sfxge/common/efx_impl.h Wed May 11 06:28:08 2016 (r299410) @@ -246,7 +246,7 @@ typedef struct efx_filter_ops_s { efx_rc_t (*efo_supported_filters)(efx_nic_t *, uint32_t *, size_t *); efx_rc_t (*efo_reconfigure)(efx_nic_t *, uint8_t const *, boolean_t, boolean_t, boolean_t, boolean_t, - uint8_t const *, int); + uint8_t const *, uint32_t); } efx_filter_ops_t; extern __checkReturn efx_rc_t @@ -258,7 +258,7 @@ efx_filter_reconfigure( __in boolean_t all_mulcst, __in boolean_t brdcst, __in_ecount(6*count) uint8_t const *addrs, - __in int count); + __in uint32_t count); #endif /* EFSYS_OPT_FILTER */ Modified: head/sys/dev/sfxge/common/hunt_filter.c ============================================================================== --- head/sys/dev/sfxge/common/hunt_filter.c Wed May 11 06:27:46 2016 (r299409) +++ head/sys/dev/sfxge/common/hunt_filter.c Wed May 11 06:28:08 2016 (r299410) @@ -1049,7 +1049,7 @@ ef10_filter_multicast_refresh( __in boolean_t all_mulcst, __in boolean_t brdcst, __in_ecount(6*count) uint8_t const *addrs, - __in int count, + __in uint32_t count, __in efx_filter_flag_t filter_flags) { ef10_filter_table_t *eftp = enp->en_filter.ef_ef10_filter_table; @@ -1202,7 +1202,7 @@ ef10_filter_reconfigure( __in boolean_t all_mulcst, __in boolean_t brdcst, __in_ecount(6*count) uint8_t const *addrs, - __in int count) + __in uint32_t count) { ef10_filter_table_t *table = enp->en_filter.ef_ef10_filter_table; efx_filter_flag_t filter_flags; Modified: head/sys/dev/sfxge/common/hunt_impl.h ============================================================================== --- head/sys/dev/sfxge/common/hunt_impl.h Wed May 11 06:27:46 2016 (r299409) +++ head/sys/dev/sfxge/common/hunt_impl.h Wed May 11 06:28:08 2016 (r299410) @@ -1082,7 +1082,7 @@ ef10_filter_reconfigure( __in boolean_t all_mulcst, __in boolean_t brdcst, __in_ecount(6*count) uint8_t const *addrs, - __in int count); + __in uint32_t count); extern void ef10_filter_get_default_rxq(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605110628.u4B6S8Jv041873>