Skip to content

Commit

Permalink
fix type mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Dec 1, 2024
1 parent fc00441 commit d8441f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sys/dev/ocs_fc/ocs_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7759,7 +7759,7 @@ ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
int32_t
ocs_hw_rtn_e
ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg)
{
uint8_t *mbxdata;
Expand Down Expand Up @@ -7856,7 +7856,7 @@ ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
int32_t
ocs_hw_rtn_e
ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg)
{
uint8_t *mbxdata;
Expand Down Expand Up @@ -7953,7 +7953,7 @@ ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
int32_t
ocs_hw_rtn_e
ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn,
uint8_t *wwnn, uint8_t hard_alpa, uint32_t preferred_d_id, void* ul_arg)
{
Expand Down Expand Up @@ -8118,7 +8118,7 @@ ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
int32_t
ocs_hw_rtn_e
ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* ul_arg)
{
uint8_t *mbxdata;
Expand Down Expand Up @@ -12192,7 +12192,7 @@ ocs_hw_set_persistent_topology(ocs_hw_t *hw, uint32_t topology, uint32_t opts)
param.persistent_topo = SLI4_INIT_LINK_F_P2P_FAIL_OVER;
param.topo_failover = 1;
} else {
param.persistent_topo = SLI4_INIT_LINK_F_P2P_ONLY;;
param.persistent_topo = SLI4_INIT_LINK_F_P2P_ONLY;
param.topo_failover = 0;
}
break;
Expand Down

0 comments on commit d8441f5

Please sign in to comment.