RDMA/ocrdma: Fix check for NULL instead of IS_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 2 May 2012 06:13:57 +0000 (09:13 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 May 2012 18:17:49 +0000 (11:17 -0700)
The ocrdma_alloc_lkey() function never returns NULL pointers -- it
returns ERR_PTRs.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found