Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6759298rdb; Fri, 15 Dec 2023 07:39:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7aXM/WlT+25BoIwCWQdOyPUBVNofEaOgKjMPSfgG9cwaalugD515ocQItd+z83c++8xKn X-Received: by 2002:a17:90a:aa82:b0:28a:ddfc:8b0 with SMTP id l2-20020a17090aaa8200b0028addfc08b0mr3697154pjq.33.1702654754629; Fri, 15 Dec 2023 07:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702654754; cv=none; d=google.com; s=arc-20160816; b=gqf2gYeBxvj7NB7DW+qR5ARNVJrH0LpcepkBPwcqSxRv9dYs6a/N0uuLIQzb51Ca2V mVRxgY2Jir+ARuV9swFHA8zZMhBwb1hN8EwiMqUShDW9nyTarXyO7k1neU+OCjBHUa5T o8wJRGTVv3sAj/SiaJ8Kp0CS2N4mQYoSqAxILcqArvPuwIP/d6neS1IE9o57hYUbBqpI a1gpkhU2gz9kuno7fXxgjwMZ1u5ntYZMRIpTqCyJZeAI3jlmFN5AE0RmNR95YAMsaZva 0rutos2VVjqCM81mc+PAu2jkZpAzeyxkfupgSnFIfiPBYh1q9LDyVZ3CgwNye/skIFsS j6uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=q1wx0veFfXeSmAfDnA278dNhCsbl17nDzwAO+VoI2w0=; fh=dxl3vi9JVV+SsvXvb6hkrWJFlgqJ0lTAvUkKSOlIgWg=; b=lwpNH8MwGBH5tff16ArjHYW9/z4FKiPFOkwYHE2h5vkEimD/Ypqll9+W4D2VIW4+i9 khRTzrBYYv+KsSUMDKR+bm8MfTG9uvgOsHE8RyRGT4eUBa00JcpbwVE+XBpCJMECXhz/ 8vqp2seRdbggHiVTyIEvvOkN0MYkHtIp/YFfg2gDo2H9INSYGQp35PvbxsUhGBHtfnCU iQaZV6s2TTwMlotSp+ZzAdJEsaXHsRsBjR7bVpXZi4bs6gD9iipSiN5zmxMbqgyQoD2A XnLUfO6vDBH/VZ1nn9bRbvb/3K/9KTL//k0UYNrtv9shf4ae69Ph5spBn3vnhBzPp1Gk rU4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=G7HUNOQF; spf=pass (google.com: domain of linux-kernel+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w7-20020a17090aad4700b0028b1f839d84si2009649pjv.155.2023.12.15.07.39.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 07:39:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=G7HUNOQF; spf=pass (google.com: domain of linux-kernel+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4EC8D28443D for ; Fri, 15 Dec 2023 15:39:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B198237176; Fri, 15 Dec 2023 15:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="G7HUNOQF" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4408B37152 for ; Fri, 15 Dec 2023 15:39:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-50c0478f970so808823e87.3 for ; Fri, 15 Dec 2023 07:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1702654745; x=1703259545; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=q1wx0veFfXeSmAfDnA278dNhCsbl17nDzwAO+VoI2w0=; b=G7HUNOQFP/1VB+slrezf+z6IgftivVV4MoOHZSHMqgi7Fi7huFg4UCKgVjQ2yVekEq +jHLxKh3nevTD7YDOKS/7tmT4TEGlUyfqh484ajd1NCdk9fdDCHt0cGRv9FtusyxrTgS kwJ7lChUXJuyUTR+1WkK8JUXUmJvaCuD1Ot/nVHay415nQ/EJrXLNSkFyQ/jodY3rdO/ Jjmndir2vIEzk0PxNJ6/g+K//GUv012a2Q4L19qKysWay7/gnBW6/f2bafksJrEkf3r+ yW9tXnY3jwtjfCuAyEAuvFIsxPZfWLLxzDZixLSRdsHNg1K9tJ0TLSH7AniSlOed2cMz AXGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702654745; x=1703259545; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q1wx0veFfXeSmAfDnA278dNhCsbl17nDzwAO+VoI2w0=; b=O2iycCwWOMe/7k3HdxyrpsNYbpJu+jchTk3/2US7e5mJvqQdfcFwhTWUmJWE+9qbQI 2kIUNpXwY5yok2n+83fB0ZIXL8V+W8W+KV7Adao3RdKavSFIzK/QSAqxL8lPr3vBlbyY KHhmHYs6nErL9/66RwzFt2qNfnPR2qWidKISA2vRbz+Cq4y3pktE8eDpyjpf19hvy7ay LeCd67BN+pxncPfRXHfoSOnJTTo1glAFuBGHx1KTlcMpO2ENeZKtZrTeUYRyRWK5KY1j dAgFWaFovJ5m1QhU2nN0f9s5Hq7I4BSjUHoqbNeo5LH6FMaVGH5gNRW7VsZcLAtD7qI3 BnFA== X-Gm-Message-State: AOJu0YyZ/C/xi6TBmyvjmMB4Fq11HHyNrn78TQJT0jxk6F/ULONI0c2+ 3QiJDOrZncNKYh0y9EmGEou+JvCk+cwSR6Gt+egDOg== X-Received: by 2002:a05:6512:3b13:b0:50e:1660:bc42 with SMTP id f19-20020a0565123b1300b0050e1660bc42mr2166658lfv.50.1702654745275; Fri, 15 Dec 2023 07:39:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231123185821.2272504-1-christoph.muellner@vrull.eu> <20231123185821.2272504-4-christoph.muellner@vrull.eu> In-Reply-To: <20231123185821.2272504-4-christoph.muellner@vrull.eu> From: Andy Chiu Date: Fri, 15 Dec 2023 23:38:53 +0800 Message-ID: Subject: Re: [PATCH 3/5] tools: selftests: riscv: Add missing include for vector test To: Christoph Muellner Cc: linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Albert Ou , Shuah Khan , Philipp Tomsich , Andrew Jones , Evan Green , Xiao Wang , Alexandre Ghiti , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Charlie Jenkins Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 2:58=E2=80=AFAM Christoph Muellner wrote: > > From: Christoph M=C3=BCllner > > GCC raises the following warning: > warning: 'status' may be used uninitialized > The warning comes from the fact, that the signature of waitpid() is > unknown and therefore the initialization of GCC cannot be guessed. > Let's add the relevant header to address this warning. > > Signed-off-by: Christoph M=C3=BCllner Reviewed-by: Andy Chiu > --- > tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c b/= tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c > index 2c0d2b1126c1..1f9969bed235 100644 > --- a/tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c > +++ b/tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c > @@ -1,4 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0-only > + > +#include > + > #define THIS_PROGRAM "./vstate_exec_nolibc" > > int main(int argc, char **argv) > -- > 2.41.0 >