]> git.karo-electronics.de Git - linux-beck.git/commit
RDMA/ocrdma: Fix assignment of max_srq_sge in device query
authorRoland Dreier <roland@purestorage.com>
Sat, 7 Jul 2012 22:13:47 +0000 (15:13 -0700)
committerRoland Dreier <roland@purestorage.com>
Sat, 7 Jul 2012 22:13:47 +0000 (15:13 -0700)
commitd1e09ebf426ff34b4b6bbd6212b820edeb992bd4
treead162cd33cf604dce15a032b670c0797419eecb2
parent6887a4131da3adaab011613776d865f4bcfb5678
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: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c