From: Ralph Campbell Date: Fri, 9 Nov 2007 03:53:01 +0000 (-0800) Subject: IB/ipath: Fix error returned from ib_resize_cq if new size smaller than # entries X-Git-Tag: v2.6.25-rc1~1234^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733d12813bd36ed7c727686ac1164f92f87a14a2;p=pandora-kernel.git IB/ipath: Fix error returned from ib_resize_cq if new size smaller than # entries The gen2_basic tests check for the errno value when a CQ is resized smaller than the number of outstanding completions queue on the CQ. This patch changes ib_ipath to return EINVAL which is what ib_mthca returns and what gen2_basic expects. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier --- Reading git-diff-tree failed