diff options
| author | 2014-11-04 13:37:17 +0300 | |
|---|---|---|
| committer | 2014-11-12 12:05:25 +0100 | |
| commit | b6829c72dff7359039718d2a465133691c9bb5b4 (patch) | |
| tree | 44487cec9320c4ca04ab5689d2fe9c77a1a0ac5e /include/linux | |
| parent | IB/srp: Fix a race condition triggered by destroying a queue pair (diff) | |
bnx2fc: check IS_ERR() instead of NULL
The bnx2fc_if_create() function returns NULL on failure, it never
returns an error pointer.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
