From: Matt Redfearn <matt.redfearn@imgtec.com>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, <linux-mips@linux-mips.org>,
Marcin Nowakowski <marcin.nowakowski@imgtec.com>,
<linux-kernel@vger.kernel.org>,
Paul Burton <paul.burton@imgtec.com>
Subject: Re: [PATCH 1/4] MIPS: Handle non word sized instructions when examining frame
Date: Wed, 1 Mar 2017 13:47:53 +0000 [thread overview]
Message-ID: <8cf06c75-4536-3296-7413-e2dce407e8ab@imgtec.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1702282050410.26999@tp.orcam.me.uk>
Hi Maciej
On 28/02/17 20:54, Maciej W. Rozycki wrote:
> On Tue, 28 Feb 2017, Matt Redfearn wrote:
>
>> Since the instruction modifying the stack pointer is usually the first
>> in the function, that one is ususally handled correctly. But the
> s/ususally/usually/
oops
>
>> diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
>> index 803e255b6fc3..5b1e932ae973 100644
>> --- a/arch/mips/kernel/process.c
>> +++ b/arch/mips/kernel/process.c
>> @@ -347,6 +347,7 @@ static int get_frame_info(struct mips_frame_info *info)
>> union mips_instruction insn, *ip, *ip_end;
>> const unsigned int max_insns = 128;
>> unsigned int i;
>> + unsigned int last_insn_size = 0;
> Please keep declarations in the reverse Christmas tree order, i.e. swap
> the last two.
>
> Maciej
OK, no problem.
Thanks,
Matt
next prev parent reply other threads:[~2017-03-01 14:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 15:37 [PATCH 0/4] MIPS: Further microMIPS stack unwinding fixes Matt Redfearn
2017-02-28 15:37 ` [PATCH 1/4] MIPS: Handle non word sized instructions when examining frame Matt Redfearn
2017-02-28 20:54 ` Maciej W. Rozycki
2017-03-01 13:47 ` Matt Redfearn [this message]
2017-02-28 15:37 ` [PATCH 2/4] MIPS: microMIPS: Fix decoding of addiusp instruction Matt Redfearn
2017-02-28 22:04 ` Maciej W. Rozycki
2017-03-01 13:51 ` Matt Redfearn
2017-02-28 15:37 ` [PATCH 3/4] MIPS: Stacktrace: Fix __usermode() of uninitialised regs Matt Redfearn
2017-02-28 15:37 ` [PATCH 4/4] MIPS: microMIPS: Fix decoding of swsp16 instruction Matt Redfearn
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=8cf06c75-4536-3296-7413-e2dce407e8ab@imgtec.com \
--to=matt.redfearn@imgtec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=macro@imgtec.com \
--cc=marcin.nowakowski@imgtec.com \
--cc=paul.burton@imgtec.com \
--cc=ralf@linux-mips.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®