Skip to content
Commit 3af33637 authored by Dan Carpenter's avatar Dan Carpenter Committed by Roland Dreier
Browse files

IB/srpt: Fix ERR_PTR() vs. NULL checking confusion



transport_init_session() and target_fabric_configfs_init() don't
return NULL pointers, they only return ERR_PTRs or valid pointers.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent ebfded8c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment