RDMA/cxgb4: Fix underflows in c4iw_create_qp()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 19 Oct 2013 09:14:12 +0000 (12:14 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Mar 2014 16:59:04 +0000 (09:59 -0700)
These sizes should be unsigned so we don't allow negative values and
have underflow bugs.  These can come from the user so there may be
security implications, but I have not tested this.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/qp.c

Simple merge