linux-mips
[Top] [All Lists]

[PATCH]: scatter list are supposed to have a int length

To: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
Subject: [PATCH]: scatter list are supposed to have a int length
From: Juan Quintela <quintela@mandrakesoft.com>
Date: 20 Dec 2002 11:27:25 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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
diff -u -r1.4.2.5 scatterlist.h
--- include/asm-mips64/scatterlist.h    28 Sep 2002 18:51:41 -0000      1.4.2.5
+++ include/asm-mips64/scatterlist.h    20 Dec 2002 09:55:13 -0000
@@ -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)


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH]: scatter list are supposed to have a int length, Juan Quintela <=