All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: Manish Lachwani <mlachwani@mvista.com>,
	Jordan Crouse <jordan.crouse@amd.com>
Subject: [PATCH] Au1xx0: OHCI region size off-by-one
Date: Tue, 21 Mar 2006 02:38:30 +0300	[thread overview]
Message-ID: <441F3CF6.9090509@ru.mvista.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Hello Manish.

    Au1xx0 OHCI driver claims one byte too many for the memory mapped
controller registers.

WBR, Sergei


[-- Attachment #2: Au1xx0-OHCI-region-size-off-by-one.patch --]
[-- Type: text/plain, Size: 441 bytes --]

diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c
index d7a8f0a..79407ab 100644
--- a/arch/mips/au1000/common/platform.c
+++ b/arch/mips/au1000/common/platform.c
@@ -20,7 +20,7 @@
 static struct resource au1xxx_usb_ohci_resources[] = {
 	[0] = {
 		.start		= USB_OHCI_BASE,
-		.end		= USB_OHCI_BASE + USB_OHCI_LEN,
+		.end		= USB_OHCI_BASE + USB_OHCI_LEN - 1,
 		.flags		= IORESOURCE_MEM,
 	},
 	[1] = {



             reply	other threads:[~2006-03-20 23:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20 23:38 Sergei Shtylylov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-21  0:54 [PATCH] Au1xx0: OHCI region size off-by-one Sergei Shtylylov
2006-03-21  1:02 ` Martin Michlmayr
2006-03-21  1:05   ` Sergei Shtylylov
2006-03-22 12:01     ` Ralf Baechle
2006-05-25 18:47 ` Sergei Shtylyov

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=441F3CF6.9090509@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=jordan.crouse@amd.com \
    --cc=linux-mips@linux-mips.org \
    --cc=mlachwani@mvista.com \
    /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.