RDMA/bnxt_re: Modify a fall-through annotation
[linux-2.6-microblaze.git] / drivers / infiniband / hw / bnxt_re / ib_verbs.c
index 6c0c6d3..dd800d1 100644 (file)
@@ -244,8 +244,8 @@ int bnxt_re_query_port(struct ib_device *ibdev, u8 port_num,
        port_attr->gid_tbl_len = dev_attr->max_sgid;
        port_attr->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP |
                                    IB_PORT_DEVICE_MGMT_SUP |
-                                   IB_PORT_VENDOR_CLASS_SUP |
-                                   IB_PORT_IP_BASED_GIDS;
+                                   IB_PORT_VENDOR_CLASS_SUP;
+       port_attr->ip_gids = true;
 
        port_attr->max_msg_sz = (u32)BNXT_RE_MAX_MR_SIZE_LOW;
        port_attr->bad_pkey_cntr = 0;
@@ -2409,7 +2409,7 @@ int bnxt_re_post_send(struct ib_qp *ib_qp, struct ib_send_wr *wr,
                        default:
                                break;
                        }
-                       /* Fall thru to build the wqe */
+                       /* fall through */
                case IB_WR_SEND_WITH_INV:
                        rc = bnxt_re_build_send_wqe(qp, wr, &wqe);
                        break;