We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 681467e + 696ed92 commit 0994d21Copy full SHA for 0994d21
providers/efa/verbs.c
@@ -1285,7 +1285,7 @@ struct ibv_cq_ex *efadv_create_cq(struct ibv_context *ibvctx,
1285
1286
if (!vext_field_avail(struct efadv_cq_init_attr, wc_flags, inlen) ||
1287
efa_attr->comp_mask ||
1288
- (inlen > sizeof(efa_attr) && !is_ext_cleared(efa_attr, inlen))) {
+ (inlen > sizeof(*efa_attr) && !is_ext_cleared(efa_attr, inlen))) {
1289
verbs_err(verbs_get_ctx(ibvctx), "Compatibility issues\n");
1290
errno = EINVAL;
1291
return NULL;
0 commit comments