projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[cascardo/linux.git]
/
drivers
/
target
/
target_core_pscsi.c
diff --git
a/drivers/target/target_core_pscsi.c
b/drivers/target/target_core_pscsi.c
index
a1690a3
..
7c8291f
100644
(file)
--- a/
drivers/target/target_core_pscsi.c
+++ b/
drivers/target/target_core_pscsi.c
@@
-1058,7
+1058,7
@@
pscsi_execute_cmd(struct se_cmd *cmd)
req = blk_get_request(pdv->pdv_sd->request_queue,
(data_direction == DMA_TO_DEVICE),
GFP_KERNEL);
- if (
!req
) {
+ if (
IS_ERR(req)
) {
pr_err("PSCSI: blk_get_request() failed\n");
ret = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
goto fail;