From: Nicholas Krause <xerofoify@gmail.com>
To: takata@linux-m32r.org
Cc: linux-m32r@ml.linux-m32r.org, linux-m32r-ja@ml.linux-m32r.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] M32Rz: FIXME add textlen in function m32r_flat_get_addr_from_rp
Date: Wed, 2 Jul 2014 21:53:15 -0400 [thread overview]
Message-ID: <1404352395-5854-1-git-send-email-xerofoify@gmail.com> (raw)
This patch adds textlen in this function for case FLAT_M32R_LO16_DATA
in the return statement verus subtracting it in order to fix this
FIXME message.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
---
arch/m32r/include/asm/flat.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/m32r/include/asm/flat.h b/arch/m32r/include/asm/flat.h
index 5d711c4..8f0141f 100644
--- a/arch/m32r/include/asm/flat.h
+++ b/arch/m32r/include/asm/flat.h
@@ -83,8 +83,6 @@ static inline unsigned long m32r_flat_get_addr_from_rp (unsigned long *rp,
case FLAT_M32R_LO16:
return htonl(*rp) & 0xFFFF;
case FLAT_M32R_LO16_DATA:
- /* FIXME: The return value will decrease by textlen
- at m32r_flat_put_addr_at_rp () */
textlen_for_m32r_lo16_data = textlen;
return (htonl(*rp) & 0xFFFF) + textlen;
case FLAT_M32R_16:
--
1.9.1
reply other threads:[~2014-07-03 1:53 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=1404352395-5854-1-git-send-email-xerofoify@gmail.com \
--to=xerofoify@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m32r-ja@ml.linux-m32r.org \
--cc=linux-m32r@ml.linux-m32r.org \
--cc=takata@linux-m32r.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
all inboxes | Powered by JetHome®