Skip to contentSkip to conversation

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

PATCH In review Luben Tuikov 2 participants 2 messages Nov 4, 2006 – Nov 5, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI: Make the max_sectors type be the same as that in request_queue

---
 include/scsi/scsi_host.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

This patch is 8 months old.

Luben

include/scsi/scsi_host.h +2 -2
index 8279929..17ee065 100644
@@ -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.
Signature · 1 line
1.4.3.3.g8478