Project

General

Profile

Actions

Bug #13590

closed

sol_uverbs: implicit conversion from 'ibt_cep_state_t' to 'enum ib_qp_state'

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors with gcc 10:

    ../../common/io/ib/clients/of/sol_uverbs/sol_uverbs_qp.c: In function 'sol_uverbs_modify_qp':
    ../../common/io/ib/clients/of/sol_uverbs/sol_uverbs_qp.c:1388:13: error: implicit conversion from
    'ibt_cep_state_t' {aka 'enum ibt_cep_state_e'} to 'enum ib_qp_state' [-Werror=enum-conversion]
     1388 |   cur_state = IBT_TO_OFA_QP_STATE(qp_query_attr.qp_info.qp_state);
          |             ^
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions #1

Updated by Electric Monk about 1 year ago

  • Gerrit CR set to 1297
Actions #2

Updated by Toomas Soome about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit a522dae157f0619c63fd51d4b80abc2ded60ec51

commit  a522dae157f0619c63fd51d4b80abc2ded60ec51
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-13T17:46:07.000Z

    13590 sol_uverbs: implicit conversion from 'ibt_cep_state_t' to 'enum ib_qp_state'
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF