commit | 653f0a71daf1a71d55d3af368c28c8114c11c607 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jul 10 10:22:47 2017 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Thu Jul 20 11:20:49 2017 -0400 |
tree | 2cb5c96ca2858dd61e19f2b6f6bfcfaae5aed027 | |
parent | af56e53ccd29bda062a1ae75276dc9c0f8eedf47 [diff] |
RDMA/bnxt_re: checking for NULL instead of IS_ERR() bnxt_re_alloc_mw() doesn't return NULL, it returns error pointers. Fixes: 9152e0b722b2 ("RDMA/bnxt_re: HW workarounds for handling specific conditions") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>