lkml.org 
[lkml]   [2002]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH/RFC: fix 2.5.20 ramdisk
On Tue, Jun 04, 2002 at 09:54:14AM +0200, Martin Dalecki wrote:
> > --- orig/drivers/block/rd.c Wed May 29 21:40:26 2002
> > +++ linux/drivers/block/rd.c Tue Jun 4 09:44:21 2002
> > @@ -144,6 +144,7 @@
> > {
> > struct address_space * mapping;
> > unsigned long index;
> > + unsigned int vec_offset;
>
> Just a small nit. Shouldn't taht be size_t ?

I really don't see where you got that thought from. A bio_vec is:

struct bio_vec {
struct page *bv_page;
unsigned int bv_len;
unsigned int bv_offset;
};

bv_offset is unsigned int. Therefore, vec_offset should be likewise.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.088 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site