linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alex@digriz.org.uk (Alexander Clouter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: orion5x: ts78xx fix NAND resource off by one
Date: Sat, 14 Apr 2012 19:00:53 +0100	[thread overview]
Message-ID: <1334426454-3206-3-git-send-email-alex@digriz.org.uk> (raw)
In-Reply-To: <1334426454-3206-1-git-send-email-alex@digriz.org.uk>

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
---
 arch/arm/mach-orion5x/ts78xx-setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index c41f27b..4ae822b 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/arch/arm/mach-orion5x/ts78xx-setup.c
@@ -294,7 +294,7 @@ static struct platform_nand_data ts78xx_ts_nand_data = {
 
 static struct resource ts78xx_ts_nand_resources = {
 	.start		= TS_NAND_DATA,
-	.end		= TS_NAND_DATA + 4,
+	.end		= TS_NAND_DATA + 4 - 1,
 	.flags		= IORESOURCE_MEM,
 };
 
-- 
1.7.10

  parent reply	other threads:[~2012-04-14 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-14 18:00 [PATCH 0/3] ARM: orion5x: ts78xx misc cleanups Alexander Clouter
2012-04-14 18:00 ` [PATCH 1/3] ARM: orion5x: ts78xx whitespace cleanups Alexander Clouter
2012-04-14 18:00 ` Alexander Clouter [this message]
2012-04-16 16:46   ` [PATCH 2/3] ARM: orion5x: ts78xx fix NAND resource off by one H Hartley Sweeten
2012-04-14 18:00 ` [PATCH 3/3] ARM: orion5x: ts78xx debugging changes Alexander Clouter
2012-04-16 16:40   ` H Hartley Sweeten

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=1334426454-3206-3-git-send-email-alex@digriz.org.uk \
    --to=alex@digriz.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).