aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r--drivers/scsi/sg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index af3fea59a456..a8b05ce5de52 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -2155,7 +2155,7 @@ sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size)
2155 2155
2156 srp->res_used = 1; 2156 srp->res_used = 1;
2157 SCSI_LOG_TIMEOUT(4, printk("sg_link_reserve: size=%d\n", size)); 2157 SCSI_LOG_TIMEOUT(4, printk("sg_link_reserve: size=%d\n", size));
2158 rem = size = (size + 1) & (~1); /* round to even for aha1542 */ 2158 rem = size;
2159 2159
2160 for (k = 0; k < rsv_schp->k_use_sg; ++k, ++sg) { 2160 for (k = 0; k < rsv_schp->k_use_sg; ++k, ++sg) {
2161 num = sg->length; 2161 num = sg->length;