sfxge: cleanup: fix return code types

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
This commit is contained in:
Andrew Rybchenko 2016-01-13 08:09:28 +00:00
parent e02305fc28
commit 6e4d48127c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293819
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;