diff options
author | James Bottomley <JBottomley@Odin.com> | 2015-11-12 13:06:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-11-12 13:06:18 +0100 |
commit | febdfbd2137a5727f70dfbf920105c07e6c2a21e (patch) | |
tree | 9483a5493ad3e08626e1f53ded594f88a6f4e710 /drivers/scsi/be2iscsi/be_main.c | |
parent | stex: Remove use of struct timeval (diff) | |
parent | sd: Clear PS bit before Mode Select. (diff) | |
download | linux-febdfbd2137a5727f70dfbf920105c07e6c2a21e.tar.xz linux-febdfbd2137a5727f70dfbf920105c07e6c2a21e.zip |
Merge tag '4.4-scsi-mkp' into misc
SCSI queue for 4.4.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 864d978b7ae0..fe0c5143f8e6 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -3186,7 +3186,7 @@ be_sgl_create_contiguous(void *virtual_address, { WARN_ON(!virtual_address); WARN_ON(!physical_address); - WARN_ON(!length > 0); + WARN_ON(!length); WARN_ON(!sgl); sgl->va = virtual_address; |