commit | 3af336376f77859da84bb1156ef29d5337b316a9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Nov 04 21:27:32 2011 +0300 |
committer | Roland Dreier <roland@purestorage.com> | Fri Feb 03 09:07:00 2012 -0800 |
tree | 31e6e0efc8b66c2212f834aeaa041052febd5076 | |
parent | ebfded8c4b34caea450709ce467e67483fa4d8df [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Roland Dreier <roland@purestorage.com>