lkml.org 
[lkml]   [2003]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 28 Oct 2003 23:06:21 +0100
FromKlaas de Waal <>
SubjectBug in linux-2.0.6-test9/fs/direct-io.c
Bug in parameter of ZERO_PAGE macro in line 679 of fb/direct-io.c
Parameter dio->cur_user_address has to be dio->curr_user_address.
This bug shows when compling for MIPS little endian as target, not when
compiling for X86.


Context diff (direct-io.c.sav is original file, direct-io.c is fixed file):

*** direct-io.c 2003-10-28 22:59:00.000000000 +0100
--- direct-io.c.sav 2003-09-28 02:50:29.000000000 +0200
***************
*** 676,682 ****
this_chunk_bytes = this_chunk_blocks << dio->blkbits;

! page = ZERO_PAGE(dio->curr_user_address);
if (submit_page_section(dio, page, 0, this_chunk_bytes,
dio->next_block_for_io))
return;
--- 676,682 ----
this_chunk_bytes = this_chunk_blocks << dio->blkbits;

! page = ZERO_PAGE(dio->cur_user_address);
if (submit_page_section(dio, page, 0, this_chunk_bytes,
dio->next_block_for_io))
return;
[
-
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:58    [from the cache]
©2003-2010