summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-u300.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-10-25 13:53:33 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2013-10-25 17:42:09 (GMT)
commit58932e96e438cd78f75e765d7b87ef39d3533d15 (patch)
treea431bf2d95dcc04f3a09c1f3dfe956ceaf1527ee /drivers/clk/clk-u300.c
parent48502ddbfb9840803f633ff81eee507e0fdae7c5 (diff)
downloadlinux-fsl-qoriq-58932e96e438cd78f75e765d7b87ef39d3533d15.tar.xz
target/pscsi: fix return value check
In case of error, the function scsi_host_lookup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Cc: <stable@vger.kernel.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/clk/clk-u300.c')
0 files changed, 0 insertions, 0 deletions