From: William Pitcock <nenolod@dereferenced.org>
To: musl@lists.openwall.com
Cc: William Pitcock <nenolod@dereferenced.org>
Subject: [PATCH] aarch64: signal: fix type definition for ucontext_t.uc_link
Date: Wed, 31 Jan 2018 23:29:24 +0000 [thread overview]
Message-ID: <20180131232924.4051-1-nenolod@dereferenced.org> (raw)
When compiling the test program for libucontext, I observed a compiler warning
concerning assignment to the wrong type (`struct __ucontext` vs `struct ucontext`).
Accordingly, ucontext_t.uc_link should be the same structure as ucontext_t itself.
---
arch/aarch64/bits/signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h
index 5eb3d91f..1c67313d 100644
--- a/arch/aarch64/bits/signal.h
+++ b/arch/aarch64/bits/signal.h
@@ -59,7 +59,7 @@ struct sigaltstack {
typedef struct __ucontext {
unsigned long uc_flags;
- struct ucontext *uc_link;
+ struct __ucontext *uc_link;
stack_t uc_stack;
sigset_t uc_sigmask;
mcontext_t uc_mcontext;
--
2.16.1
next reply other threads:[~2018-01-31 23:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 23:29 William Pitcock [this message]
2018-02-01 9:51 ` Szabolcs Nagy
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=20180131232924.4051-1-nenolod@dereferenced.org \
--to=nenolod@dereferenced.org \
--cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).