[PATCH] SCSI: Make the max_sectors type be the same as that in request_queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Luben Tuikov <ltuikov@xxxxxxxxx>
---
 include/scsi/scsi_host.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

This patch is 8 months old.

    Luben

diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index 8279929..17ee065 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -338,7 +338,7 @@ struct scsi_host_template {
 	/*
 	 * If the host adapter has limitations beside segment count
 	 */
-	unsigned short max_sectors;
+	unsigned int max_sectors;
 
 	/*
 	 * dma scatter gather segment boundary limit. a segment crossing this
@@ -526,7 +526,7 @@ struct Scsi_Host {
 	int can_queue;
 	short cmd_per_lun;
 	short unsigned int sg_tablesize;
-	short unsigned int max_sectors;
+	unsigned int  max_sectors;
 	unsigned long dma_boundary;
 	/* 
 	 * Used to assign serial numbers to the cmds.
-- 
1.4.3.3.g8478


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux