diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-14 16:30:37 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-14 16:30:37 +0000 |
commit | a4c78b9798a68b7c1072d5a445a314acf06779bb (patch) | |
tree | c5614e3fb5875212a6b3c8aadbd36a17cf46e846 /sys/dev/sfxge/common | |
parent | 331cec67af7cfb859c94f13dcb81c013a114213c (diff) | |
download | FreeBSD-src-a4c78b9798a68b7c1072d5a445a314acf06779bb.zip FreeBSD-src-a4c78b9798a68b7c1072d5a445a314acf06779bb.tar.gz |
MFC r293819
sfxge: cleanup: fix return code types
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common')
-rw-r--r-- | sys/dev/sfxge/common/efx_mcdi.h | 2 | ||||
-rw-r--r-- | sys/dev/sfxge/common/hunt_nvram.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/efx_mcdi.h b/sys/dev/sfxge/common/efx_mcdi.h index d100775..36b3d8d 100644 --- a/sys/dev/sfxge/common/efx_mcdi.h +++ b/sys/dev/sfxge/common/efx_mcdi.h @@ -54,7 +54,7 @@ struct efx_mcdi_req_s { uint8_t *emr_in_buf; size_t emr_in_length; /* Outputs: retcode, buffer, length, and length used*/ - int emr_rc; + efx_rc_t emr_rc; uint8_t *emr_out_buf; size_t emr_out_length; size_t emr_out_length_used; diff --git a/sys/dev/sfxge/common/hunt_nvram.c b/sys/dev/sfxge/common/hunt_nvram.c index fb92bae..35c5ddd 100644 --- a/sys/dev/sfxge/common/hunt_nvram.c +++ b/sys/dev/sfxge/common/hunt_nvram.c @@ -1103,7 +1103,7 @@ ef10_nvram_segment_write_tlv( __in boolean_t write) { efx_rc_t rc; - int status; + efx_rc_t status; size_t original_segment_size; size_t modified_segment_size; |