| Message ID | 20240518141626.187780-1-dm.chestnykh@gmail.com |
|---|---|
| State | Superseded |
| Headers | show
Return-Path: <devel-bounces@uclibc-ng.org>
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256
header.s=20230601 header.b=FZAyYbYV;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org
(client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org;
envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org)
Received: from helium.openadk.org (unknown [IPv6:2a00:1828:2000:679::23])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4VhQrX61CBz20d9
for <incoming@patchwork.ozlabs.org>; Sun, 19 May 2024 00:17:14 +1000 (AEST)
Received: from helium.openadk.org (localhost [IPv6:::1])
by helium.openadk.org (Postfix) with ESMTP id 916D435282EE;
Sat, 18 May 2024 16:16:56 +0200 (CEST)
Authentication-Results: helium.openadk.org;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256
header.s=20230601 header.b=FZAyYbYV;
dkim-atps=neutral
Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com
[209.85.167.45])
by helium.openadk.org (Postfix) with ESMTPS id D324B35210E4
for <devel@uclibc-ng.org>; Sat, 18 May 2024 16:16:48 +0200 (CEST)
Received: by mail-lf1-f45.google.com with SMTP id
2adb3069b0e04-51f101b5d3bso323689e87.2
for <devel@uclibc-ng.org>; Sat, 18 May 2024 07:16:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1716041807; x=1716646607;
darn=uclibc-ng.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=ixymUQYpsGoTSzPQjEcxkCGvJDQeoten2BeK7gLEVgs=;
b=FZAyYbYVaFGBQYLFxwhrqTzY4oRHPkvBPG0BOYFdk3BmVWaR5kaoTRDnzxpJFIbSft
eqfnksPaIwHo/cJ72BPSCmDMTu7jUZ+srL5tdmWdZM46dtCFj2ATlOd7SGkyQEt2yuAT
ednQ8MmdUJU7sR4udiMGIqU1TjpZReD4TjhJT4NVWdJmcCzKstDXpmiYtT5bjpFggmWz
an/caBpaAtm0qa439hPiwxehAKgpflLNrbQXbu1TFQ954Ge87MiASmEOqQbTzgedFCBb
DN8HPpEh9XPOamuIE6aA9Z965nvbxrMgJDONPBdJlhJOj//WM8kaEgc35yjUsGK7v5Ov
iuEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1716041807; x=1716646607;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=ixymUQYpsGoTSzPQjEcxkCGvJDQeoten2BeK7gLEVgs=;
b=A///DqRYqe7+vU6kHs2P8TGc06mWq22+1f0weYjiHfL3VwHl9GkHyOvx+W9ZY+lYZx
U2VNExkPVN7xyA3v121mM2cA2URBLJPqUvbl2bGhAZWUmLwrM0gO4P0+WymdU1cNjyIe
6h9lA1fLfpgHk/gYRKMOt98PL3w3ckWXK1S66FhgrSJRU+0yu2JfAMNwewiEIqw2V8kh
i6/BYcHUFMEf3ossueVGblXaLvzBMNk7AGYgMnZHIo2/bbB3mDRmIHjEAwlR0JLJqVto
TLE+sJITv42vyTvXY83pi8ifO9eQ2SndgKV0uXiiT3UewRxt4kIZXONifOqDvAtlrws8
gfvA==
X-Gm-Message-State: AOJu0Yw+iGIPCayLARJOOoqXjULy6HTzItocqA2hz/ABDPMi+e4AdsSc
GoADsRJ+/hQDNurq55kPxZvv6HO7yB94/NbPNNoPbkHjcCSPYvtjuQDMPQ==
X-Google-Smtp-Source:
AGHT+IG6jUN00Qxo9y7o4bzomlHVKT11pnbyRzTiJDX32V+wHUbAwP192RXtajQUuaOBkA2al0SctQ==
X-Received: by 2002:a05:651c:2210:b0:2e4:c5fb:f3ed with SMTP id
38308e7fff4ca-2e5205e8592mr164065561fa.4.1716041806938;
Sat, 18 May 2024 07:16:46 -0700 (PDT)
Received: from localhost.localdomain (109-252-38-243.nat.spd-mgts.ru.
[109.252.38.243])
by smtp.gmail.com with ESMTPSA id
38308e7fff4ca-2e55e16d134sm23444101fa.68.2024.05.18.07.16.46
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 18 May 2024 07:16:46 -0700 (PDT)
From: Dmitry Chestnykh <dm.chestnykh@gmail.com>
To: devel@uclibc-ng.org
Date: Sat, 18 May 2024 17:16:26 +0300
Message-ID: <20240518141626.187780-1-dm.chestnykh@gmail.com>
X-Mailer: git-send-email 2.45.1
MIME-Version: 1.0
Message-ID-Hash: P6WJCD5HCMFYQF4EQ2F3J7SBO3LOWC3P
X-Message-ID-Hash: P6WJCD5HCMFYQF4EQ2F3J7SBO3LOWC3P
X-MailFrom: dm.chestnykh@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
loop; banned-address; member-moderation; nonmember-moderation; administrivia;
implicit-dest; max-recipients; max-size; news-moderation; no-subject;
digests; suspicious-header
CC: Dmitry Chestnykh <dm.chestnykh@gmail.com>
X-Mailman-Version: 3.3.3
Precedence: list
Subject: [uclibc-ng-devel] [PATCH] riscv32: Fix `struct ucontext` definition.
List-Id: uClibc-ng Development <devel.uclibc-ng.org>
Archived-At:
<https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/message/P6WJCD5HCMFYQF4EQ2F3J7SBO3LOWC3P/>
List-Archive:
<https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/>
List-Help: <mailto:devel-request@uclibc-ng.org?subject=help>
List-Owner: <mailto:devel-owner@uclibc-ng.org>
List-Post: <mailto:devel@uclibc-ng.org>
List-Subscribe: <mailto:devel-join@uclibc-ng.org>
List-Unsubscribe: <mailto:devel-leave@uclibc-ng.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
|
| Series |
[uclibc-ng-devel] riscv32: Fix `struct ucontext` definition.
|
expand
|
diff --git a/libc/sysdeps/linux/riscv32/sys/ucontext.h b/libc/sysdeps/linux/riscv32/sys/ucontext.h index 2893ff359..51dd5ff12 100644 --- a/libc/sysdeps/linux/riscv32/sys/ucontext.h +++ b/libc/sysdeps/linux/riscv32/sys/ucontext.h @@ -83,7 +83,7 @@ typedef struct mcontext_t } mcontext_t; /* Userlevel context. */ -typedef struct ucontext_t +typedef struct ucontext { unsigned long int __uc_flags; struct ucontext_t *uc_link;
The correct typedef is `struct ucontext` -> `ucontext_t`, not `struct ucontext_t` -> `ucontext_t` like for other architectures. Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com> --- libc/sysdeps/linux/riscv32/sys/ucontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)