From: Meelis Roos <mroos@linux.ee>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Cc: malat@debian.org
Subject: Re: [PATCH] powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
Date: Sat, 16 Feb 2019 21:15:37 +0200 [thread overview]
Message-ID: <0ef0b01c-e5e0-5295-3ccd-ff539dc82681@linux.ee> (raw)
In-Reply-To: <20190215061400.20302-1-mpe@ellerman.id.au>
> Rather than relying on that we can pass an explict end_pos based on
> the sizeof(vrsave). The result should be exactly the same but it's
> more obviously not over-reading/writing the stack and it avoids the
> compiler warning.
It works on my PowerMac G4 with Debian-ports unstable with gcc 8.
--
Meelis Roos
next prev parent reply other threads:[~2019-02-16 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-15 6:14 [PATCH] powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning Michael Ellerman
2019-02-15 8:09 ` Mathieu Malaterre
2019-02-15 9:20 ` Michael Ellerman
2019-02-16 19:15 ` Meelis Roos [this message]
2019-02-19 1:02 ` Michael Ellerman
2019-02-22 9:47 ` Michael Ellerman
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=0ef0b01c-e5e0-5295-3ccd-ff539dc82681@linux.ee \
--to=mroos@linux.ee \
--cc=linuxppc-dev@ozlabs.org \
--cc=malat@debian.org \
--cc=mpe@ellerman.id.au \
/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).