Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2684580rdh; Sun, 26 Nov 2023 15:45:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFentfXVlfKd+48+p+tPhZt3pR6Re5XO7rbII5GimHjhc7Yd+weYQS4GCXdDtV/f2aMor6u X-Received: by 2002:a25:8d0b:0:b0:da0:cbff:4e20 with SMTP id n11-20020a258d0b000000b00da0cbff4e20mr8157119ybl.56.1701042334770; Sun, 26 Nov 2023 15:45:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701042334; cv=none; d=google.com; s=arc-20160816; b=GlHwiEuJO5W9ZAyjMbZdfEaujbdsOM6MwG0doosmAech2LBhN6+61WhgW0XJevlh4n rO2IsgqrcXE+XGKBU2vuMmkzLkMnxt69AWPCwUYdmVGaxdMr45o5NZnOZS4hM5kqBzjr agX0GD+Vpd0wA4uEDYLVlHHxjYzUH1+F+APuqbh8BBO4SfxO+kywBmBWjoEo2hxUakz+ b9CBYB6CQ9e8356aqqYdtOus2bzn0m1cVjnMertW7TPTgfaJJy/gTo5Wieg6Rdt4IeIm vZzXZ1hEo0Qps8AqBBeAtg+QKs/llpgmKWg3eywPQDocRDCVuH0hK4SR3QHpMF4UBW1y J5Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+gBMT1D8EIh0bBWoj7ImRklCKaan3pldMceeCzs+vUQ=; fh=/eO5nk+0DJTE9DN9tCVbd3UjUSmw806IPGhK6G20PBw=; b=NuQJPLZwwYzlsyE3pbIkpTPD+MJKuRQC7UbIgwd1OPit7RqC39loDpsbJZHfPgcsNn KcfzOh1Y+IOVMUBs8G43GFFyeTzp31saUUUQdXvf0NRb1LAqJTVvqC317pWaUV65OjET FwR+Ybob/53aIuQsCP5GYHk4/4+bUOeUhrzJSbzjmNpZQD2tu7HFavPTWKCy++YQaQgk gxv6rs9vk97ygJxw3fexlGtLuiqm4iUoX0cmBkWPrdxTYgAksYXXSbdUQDQHvgTXc4Fd rqVt4BKcxU8zCRWi9sJvmWK1iqom1Wqs19uPSZm88INmuj9rz0R1xqT/daRaGXErg3D0 qvIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=Wut90YIg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id z15-20020a0ce60f000000b00679d914f5d5si8128288qvm.592.2023.11.26.15.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 15:45:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=Wut90YIg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A9DD180785D6; Thu, 23 Nov 2023 10:59:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345802AbjKWS6d (ORCPT + 99 others); Thu, 23 Nov 2023 13:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbjKWS60 (ORCPT ); Thu, 23 Nov 2023 13:58:26 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 272F4D46 for ; Thu, 23 Nov 2023 10:58:33 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5484ef5e3d2so1598115a12.3 for ; Thu, 23 Nov 2023 10:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1700765911; x=1701370711; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+gBMT1D8EIh0bBWoj7ImRklCKaan3pldMceeCzs+vUQ=; b=Wut90YIgGWdeYAfFnYgnkugdn4Ab3YQZLngX+t7BRQtw0bQlJapmf/um1Yd5xyAIDU yzjHihrUKawz6T/TgU0M6EAU6hsuivLBqbHORBy2xZOhOgNjlAnMfVBf6wOOpg8tZmiK 7/n+6oC533vD+5tGEQRkJ7UjS0xYxqAUjH9QFMao/cP2hBBJczlXc6ijT+LfHn1RMyfc p+XX/GP3L5LTeWf3cQKGspTvXh5kmwEziwHFyLlRTD3X6NfS4Hc1b0ei9qhrS6jP9ZBA 1yleh2JLIUzbn/JCqJHoia363GAfwnQ7+VflDk6ysr1WAVF7PkMNSpjVp911t+DCZig0 2t/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700765911; x=1701370711; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+gBMT1D8EIh0bBWoj7ImRklCKaan3pldMceeCzs+vUQ=; b=qV1g/4hoTWBkEtNgyC6YyPs4Fm3hFrYH7tdGfVjGj18nMU+61OxUp+NPoIBwmkjX15 AkMieZ7+u5ZHCslXoNimzQaX2INH2DwAzeiN/5WGRecD16fm6rauT89Oi6hF5KpL82Be yBxXDr+7b7uwpx10ezQSkO8RDW4iCSK8LHY89kT6hgd/3q7FbLfma7lu8E92xGTTaHkA zR2IT/S7rRktzVcEtiKEweghyd9mwosAIaKNvlf8KHUecueWa4dC7qWcU3uXt5kaDssi l6JLDgQF+NytUoIwAhjTuhxvELHVGkUeMkH8GTVgimZZgHeUeKohAvi7WhwTJpvZdmER tRWw== X-Gm-Message-State: AOJu0YxgO/ELyk1R/J1q5pCBpcpSvNyjhVcgiR/O7eRQ5p+VAgt8UIWk iU5XyWNrLKq3Tko5StNStPZNUQ== X-Received: by 2002:a17:907:d30c:b0:9bf:d65d:dc0f with SMTP id vg12-20020a170907d30c00b009bfd65ddc0fmr232442ejc.4.1700765911728; Thu, 23 Nov 2023 10:58:31 -0800 (PST) Received: from beast.fritz.box (62-178-148-172.cable.dynamic.surfer.at. [62.178.148.172]) by smtp.gmail.com with ESMTPSA id l23-20020a170906231700b009ff1997ce86sm1115944eja.149.2023.11.23.10.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 10:58:31 -0800 (PST) From: Christoph Muellner To: linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Albert Ou , Shuah Khan Cc: Philipp Tomsich , Andrew Jones , Evan Green , Xiao Wang , Alexandre Ghiti , Andy Chiu , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Charlie Jenkins , =?UTF-8?q?Christoph=20M=C3=BCllner?= Subject: [PATCH 3/5] tools: selftests: riscv: Add missing include for vector test Date: Thu, 23 Nov 2023 19:58:19 +0100 Message-ID: <20231123185821.2272504-4-christoph.muellner@vrull.eu> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231123185821.2272504-1-christoph.muellner@vrull.eu> References: <20231123185821.2272504-1-christoph.muellner@vrull.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 10:59:14 -0800 (PST) From: Christoph Müllner 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üllner --- 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