projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: rt5645: Fix potential crash in jd function
[cascardo/linux.git]
/
drivers
/
scsi
/
device_handler
/
scsi_dh_alua.c
diff --git
a/drivers/scsi/device_handler/scsi_dh_alua.c
b/drivers/scsi/device_handler/scsi_dh_alua.c
index
7bcf67e
..
e99507e
100644
(file)
--- a/
drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/
drivers/scsi/device_handler/scsi_dh_alua.c
@@
-115,7
+115,7
@@
static struct request *get_alua_req(struct scsi_device *sdev,
rq = blk_get_request(q, rw, GFP_NOIO);
- if (
!rq
) {
+ if (
IS_ERR(rq)
) {
sdev_printk(KERN_INFO, sdev,
"%s: blk_get_request failed\n", __func__);
return NULL;