Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
↓ open down ↓ 3013 lines elided ↑ open up ↑
3014 3014          tq->d_id.b.al_pa = 0;
3015 3015          tq->d_id.b.area = 0;
3016 3016          tq->d_id.b.domain = 0;
3017 3017          tq->loop_id = 0x7fe;
3018 3018  
3019 3019          rval = ql_get_port_database(ha, tq, PDF_NONE);
3020 3020          if (rval == QL_SUCCESS || rval == QL_NOT_LOGGED_IN) {
3021 3021                  ql_dev_id_list_t        *list;
3022 3022                  uint32_t                list_size;
3023 3023                  ql_mbx_data_t           mr;
3024      -                port_id_t               d_id = {0, 0, 0, 0};
     3024 +                port_id_t               d_id = {{{0, 0, 0}, 0}};
3025 3025                  uint16_t                loop_id = 0;
3026 3026  
3027 3027                  cb_port_name = (uint8_t *)(CFG_IST(ha, CFG_CTRL_24258081) ?
3028 3028                      &ha->init_ctrl_blk.cb24.port_name[0] :
3029 3029                      &ha->init_ctrl_blk.cb.port_name[0]);
3030 3030  
3031 3031                  if ((ql_wwn_cmp(ha, (la_wwn_t *)&tq->port_name[0],
3032 3032                      (la_wwn_t *)cb_port_name) == 1)) {
3033 3033                          EL(ha, "target port has N_Port login initiative\n");
3034 3034                  } else {
↓ open down ↓ 1319 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX