diff options
author | Dan Carpenter | 2011-06-13 22:10:49 +0200 |
---|---|---|
committer | Nicholas Bellinger | 2011-06-24 02:03:51 +0200 |
commit | 5eff5be0b1993f4291f2b8c6d035b408010f96c5 (patch) | |
tree | 6388265637ceb3420ab114579bd56eac43f85ca6 /drivers/target/target_core_device.c | |
parent | target: Fix ERR_PTR dereferencing bugs (diff) | |
download | kernel-qcow2-linux-5eff5be0b1993f4291f2b8c6d035b408010f96c5.tar.gz kernel-qcow2-linux-5eff5be0b1993f4291f2b8c6d035b408010f96c5.tar.xz kernel-qcow2-linux-5eff5be0b1993f4291f2b8c6d035b408010f96c5.zip |
target: Drop bogus ERR_PTR usage in target_fabric_configfs_init
In the original code, there were several places inside the
target_fabric_configfs_init() function that returned NULL on error
and one place the returned an ERR_PTR. There are two places that
call this function and they only check for NULL returns; they don't
check for ERR_PTRs. So I've changed the ERR_PTR so now the function
only returns NULL on error.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
0 files changed, 0 insertions, 0 deletions