Skip to content
Commit d1e09ebf authored by Roland Dreier's avatar Roland Dreier
Browse files

RDMA/ocrdma: Fix assignment of max_srq_sge in device query



We want to set attr->max_srq_sge to dev->attr.max_srq_sge, not to itself.

This was detected by Coverity (CID 709210).

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 6887a413
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment