projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: hpwdt (12/12): Make NMI decoding a compile-time option
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
sun3_scsi.c
diff --git
a/drivers/scsi/sun3_scsi.c
b/drivers/scsi/sun3_scsi.c
index e606cf0a2eb70b368b4f019e71f8f4c623e17a21..613f5880d1357656c774e50cd09c0f14f584b836 100644
(file)
--- a/
drivers/scsi/sun3_scsi.c
+++ b/
drivers/scsi/sun3_scsi.c
@@
-524,7
+524,7
@@
static inline unsigned long sun3scsi_dma_xfer_len(unsigned long wanted,
struct scsi_cmnd *cmd,
int write_flag)
{
- if
(blk_fs_request(cmd->request)
)
+ if
(cmd->request->cmd_type == REQ_TYPE_FS
)
return wanted;
else
return 0;