sfxge(4): cleanup: avoid unspecified unsigned
Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
60cf15c592
commit
98a9ac91f0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310693
@ -990,7 +990,7 @@ ef10_ev_mcdi(
|
||||
__in_opt void *arg)
|
||||
{
|
||||
efx_nic_t *enp = eep->ee_enp;
|
||||
unsigned code;
|
||||
unsigned int code;
|
||||
boolean_t should_abort = B_FALSE;
|
||||
|
||||
EFX_EV_QSTAT_INCR(eep, EV_MCDI_RESPONSE);
|
||||
|
@ -1246,7 +1246,7 @@ ef10_filter_reconfigure(
|
||||
efx_nic_cfg_t *encp = &enp->en_nic_cfg;
|
||||
ef10_filter_table_t *table = enp->en_filter.ef_ef10_filter_table;
|
||||
efx_filter_flag_t filter_flags;
|
||||
unsigned i;
|
||||
unsigned int i;
|
||||
efx_rc_t all_unicst_rc = 0;
|
||||
efx_rc_t all_mulcst_rc = 0;
|
||||
efx_rc_t rc;
|
||||
|
@ -772,7 +772,7 @@ ef10_nvram_buffer_create(
|
||||
struct tlv_partition_header header;
|
||||
struct tlv_partition_trailer trailer;
|
||||
|
||||
unsigned min_buf_size = sizeof (struct tlv_partition_header) +
|
||||
unsigned int min_buf_size = sizeof (struct tlv_partition_header) +
|
||||
sizeof (struct tlv_partition_trailer);
|
||||
if (partn_size < min_buf_size) {
|
||||
rc = EINVAL;
|
||||
|
@ -953,7 +953,7 @@ siena_ev_mcdi(
|
||||
__in_opt void *arg)
|
||||
{
|
||||
efx_nic_t *enp = eep->ee_enp;
|
||||
unsigned code;
|
||||
unsigned int code;
|
||||
boolean_t should_abort = B_FALSE;
|
||||
|
||||
EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA);
|
||||
|
@ -970,7 +970,7 @@ siena_filter_search(
|
||||
__out int *filter_index,
|
||||
__out unsigned int *depth_required)
|
||||
{
|
||||
unsigned hash, incr, filter_idx, depth;
|
||||
unsigned int hash, incr, filter_idx, depth;
|
||||
|
||||
hash = siena_filter_tbl_hash(key);
|
||||
incr = siena_filter_tbl_increment(key);
|
||||
|
@ -160,7 +160,7 @@ siena_vpd_init(
|
||||
{
|
||||
efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
|
||||
caddr_t svpd = NULL;
|
||||
unsigned partn;
|
||||
unsigned int partn;
|
||||
size_t size = 0;
|
||||
efx_rc_t rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user