mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
ib_srpt: Fix a compiler warning
This patch fixes a compiler warning introduced by r7410. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7413 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+3
-3
@@ -2243,9 +2243,9 @@ retry:
|
||||
* max_sge values, use max_sge_delta.
|
||||
*/
|
||||
ch->max_sge = sdev->dev_attr.max_sge -
|
||||
min(max_sge_delta,
|
||||
max_t(int, 0,
|
||||
sdev->dev_attr.max_sge - max_sge_delta));
|
||||
min_t(unsigned, max_sge_delta,
|
||||
max_t(int, 0,
|
||||
sdev->dev_attr.max_sge - max_sge_delta));
|
||||
qp_init->cap.max_send_sge = ch->max_sge;
|
||||
qp_init->cap.max_recv_sge = ch->max_sge;
|
||||
if (sdev->use_srq) {
|
||||
|
||||
Reference in New Issue
Block a user