diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-02 01:59:13 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:20:51 +0000 |
commit | 942d82646e16725ac366d44087b8c992f2cb2190 (patch) | |
tree | 983f09609d6369d731487940bba21b6682dde27f /include/target | |
parent | 635a2b3f3e561278cb5b837ea305e50e3fa7f063 (diff) | |
download | blackbird-op-linux-942d82646e16725ac366d44087b8c992f2cb2190.tar.gz blackbird-op-linux-942d82646e16725ac366d44087b8c992f2cb2190.zip |
target: Make pscsi_create_virtdevice use ERR_CAST
This patch changes pscsi_create_virtdevice() to properly return ERR_CAST
instead of a raw pointer upon scsi_host_lookup() failure.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions