All of lore.kernel.org
 help / color / mirror / Atom feed
From: Klaas de Waal <klaas.de.waal@hccnet.nl>
To: linux-kernel@vger.kernel.org
Cc: klaas.de.waal@philips.com
Subject: Bug in linux-2.0.6-test9/fs/direct-io.c
Date: Tue, 28 Oct 2003 23:06:21 +0100	[thread overview]
Message-ID: <3F9EE85D.9060903@hccnet.nl> (raw)

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;
[


                 reply	other threads:[~2003-10-28 22:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F9EE85D.9060903@hccnet.nl \
    --to=klaas.de.waal@hccnet.nl \
    --cc=klaas.de.waal@philips.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.