Skip to contentSkip to conversation

: scatter list are supposed to have a int length

PATCH New Juan Quintela 1 participant 1 message Dec 20, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : scatter list are supposed to have a int length

Hi

        length is int in: alpha, sparc64, ppc64 and s390x.

Later, Juan.

Index: include/asm-mips64/scatterlist.h
===================================================================
RCS file: /home/cvs/linux/include/asm-mips64/scatterlist.h,v retrieving revision 1.4.2.5

asm-mips64/scatterlist.h +1 -1
diff -u -r1.4.2.5 scatterlist.h
@@ -7,7 +7,7 @@
 	struct page * page;	/* Location for highmem page, if any */
 	unsigned int offset;
 	dma_addr_t dma_address;
-	unsigned long length;
+	unsigned int length;
 };
 
 #define ISA_DMA_THRESHOLD (0x00ffffff)
Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy