diff options
author | Chien Tung <ctung@neteffect.com> | 2008-02-21 07:51:17 -0600 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-25 16:00:30 -0800 |
commit | 9300c0c06788a409a97d54bbe3360d2f385fc621 (patch) | |
tree | 177ad00f8cbabaf84f561e3c98fca6b84f2dac1f /crypto/khazad.c | |
parent | 82d416fffb5e8e39e899be7075dbeeac5fb8f0c2 (diff) |
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 <ctung@neteffect.com>
Signed-off-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions