From: Chien Tung Date: Thu, 21 Feb 2008 13:51:17 +0000 (-0600) Subject: RDMA/nes: Resurrect error path dead code X-Git-Tag: v2.6.25-rc4~150^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9300c0c06788a409a97d54bbe3360d2f385fc621;p=pandora-kernel.git RDMA/nes: Resurrect error path dead code Adrian Bunk pointed out that a Coverity scan found some apparently dead code in nes_verbs.c that really shouldn't have been dead. The function nes_create_cq() was missing the assignment err = 1; just prior to an iteration that conditionally set err = 0 if a PBL was found for a given virtual CQ. I also noticed we should have been returning -EFAULT on a couple related error paths. Signed-off-by: Chien Tung Signed-off-by: Glenn Streiff Signed-off-by: Roland Dreier --- Reading git-diff-tree failed