Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4076359rwb; Mon, 31 Jul 2023 00:21:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlENtU925MuS3k6t+aiEy/02+7ZaTqF/6za/x3wxIyJUPFbWggu93cYNbdZ+TLJ9qEyfS9lM X-Received: by 2002:a05:6a20:4282:b0:13d:860e:6f37 with SMTP id o2-20020a056a20428200b0013d860e6f37mr4272898pzj.23.1690788069012; Mon, 31 Jul 2023 00:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690788068; cv=none; d=google.com; s=arc-20160816; b=WxAl4WqKSxmuWvDB0YOt2ORd8FnoT1/ZEv9lNDUrsVggx8uFrVxixSLAZN2bfwTBHE LE9I4IXE3ECPKmRA2Kkwa4kPvMDczrzJ0guob3P3QS0YNe1T6yXoUBFbm5DZ0Gj9OT/L kE86IOYdPrWF34XS8I1SuYK48IhGH3Hr8wIRBV0O25+ooIBqmWL++5ezPDc+GmbKTBsI Q84mNZRgB4ypLHtI+0HQaG94WasIlTjRL62CxHobrodLdX/ZwRlEZNWZJbS8uPvnbNU6 s4uCIIrXfKTc2mdBBEUygDf14Yk1smLEc+SjlgOHLuQl1q7t781fsjX3YtZ4qti0nrcK 8KHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ls4vyMMSJGx/osb/zNLzV9OGyqjymGoUOsR0mbwbasE=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=k5vnNItLHX6jieBVHTj4rbkDcp9YCu5+91sfz0cMn8AyPx6R4O2+ca+HDcNKYL2C70 eLNwzDqNrEBlxfdNnM6NRd6COjzOU2uOoAjCap6YGE40CtJDSSvP1ITIdmYS/q1zH2bM YRFXRiQ0JcPuEgCp/5cJ2d8BQPTCYb9nPFZLNzPlfEPlhll2V0oY8A+1898hUFwWdskE z6JYSp8JY+QghG2+DR4su+ofkGge8F1XKMSqn5O1ARtq5j6qNntXHXat3fRGEkOtpVDQ N7mAHQgfug1goPyzX6zjaxyAFT4/LxGSBLouZD9HeiW4uzwstpcv0q12dv2tYMNaPKeK GnfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="JILPw/4U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902e75200b001b83767e879si2805905plf.266.2023.07.31.00.20.55; Mon, 31 Jul 2023 00:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="JILPw/4U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbjGaG1I (ORCPT + 99 others); Mon, 31 Jul 2023 02:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230198AbjGaG1C (ORCPT ); Mon, 31 Jul 2023 02:27:02 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC9DE71; Sun, 30 Jul 2023 23:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690784819; bh=9qdnbLtbhPht0XjyjkFBgcqvEDUXoH/3gWDSG61Kn34=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=JILPw/4U6Cko7x2HlkTjmMh/EQ53PmnQ8Sr+R5MgmPWYmUBfljFaI7Mn5rsXnUSNL vJPA7ZEXmHBVdLETcZAuS1bSJGmbmW/4hSVd3IXpLQE8JANxG0TBBFtfAC0FcXg8Eb cVLfmXnJbuwXsftKIlKZeDNmxSyqu6Q/RagfXGdk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 31 Jul 2023 08:26:59 +0200 Subject: [PATCH 4/4] selftests/nolibc: enable -Wall compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230731-nolibc-warnings-v1-4-74973d2a52d7@weissschuh.net> References: <20230731-nolibc-warnings-v1-0-74973d2a52d7@weissschuh.net> In-Reply-To: <20230731-nolibc-warnings-v1-0-74973d2a52d7@weissschuh.net> To: Willy Tarreau , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuan Tan , Zhangjin Wu , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690784818; l=913; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=9qdnbLtbhPht0XjyjkFBgcqvEDUXoH/3gWDSG61Kn34=; b=O0FkQ9DeQVyJzEUUjHX/mRWQwt9DHx2IGJP8JAcnKjDRiR29iJZHRpdUleo1NqdrCrv73AKr8 5Pu3O3jPAF1A/aniH6XJHiUihWHCOkSdktGhCnJo2aHIJHKdiIJ6F6k X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It will help the developers to avoid cruft and detect some bugs. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index f42adef87e12..72227d75c6da 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -79,7 +79,7 @@ endif CFLAGS_s390 = -m64 CFLAGS_mips = -EL CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all)) -CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ +CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 -Wall \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR) LDFLAGS := -s -- 2.41.0