Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5319325rwb; Tue, 1 Aug 2023 00:00:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlEsuCf64zCeAot6axJh7157MfGBwZaec0b/sI2XiS4gbORJ5tk17ylZzRCqK4c+uqEWgGtH X-Received: by 2002:a05:6a00:2294:b0:687:1923:223 with SMTP id f20-20020a056a00229400b0068719230223mr12256025pfe.33.1690873202105; Tue, 01 Aug 2023 00:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690873202; cv=none; d=google.com; s=arc-20160816; b=Qidt95RQenKY8tvuBOsdZ4GX64t26/RkBISZ2s1lu/x0GHgjeJ+m0zIEQ+kXXUh+mT 6Lgq8VWuRoR0NFZoqTg6arOZ81IgZ3UTFY9YHzfPLrspJoXQmcrJpJ2eP9uCC1PMIv79 uvL+0lXGvJRscyT1LO+7c6w/5osodLMlmP5DAdzI4seWGXYPhHeVQ5UTJDBgN2lrm+Yn qIqujclTl2YN2ZqWNaaa8KkOcNWUSvh9b6YatWqDjVAyzILaJETN6hp1Vgr9ohKP5Zw6 7v2avFN1a/d5csnxFh7MiddDDoRy4YmgHP79VtLETW6+wDjzbGcvKK8WEhb3QxesGNnY oN+A== 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=y87IR+7NNIMi9367HC049Ju5rVeoYodUVWxfUnJRrh4=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=gQt8XeWR6zbpWzRluj33WU8y1zSZopdWZRfwUZkCNQd0UI2rMNUl5uSjtNMR9AyGMA KjxPtq83N0QgrMenXTQYRHemSCEkzhewJ15ESN4GUdd86ZIbcI2YTitV0MUPuETzetZs uVTW0eLh1obcJMbkml0rf+qLSNG/R+8E2MpLx+LpOx2kEMMcIRz3WZrpucCLc7uB3zxq oQlCtOzuz6HHYMhvleIBL3NwKHnIotSNKYDAhI7XWv/ET+R2n7WQePYPajEzI5LGI7rI qaEg/tb8xMTYpErDXarfooFrFBLunE7vKeHi69DSDzuBnC1E0mM4yd5k5Lk+1ZpCTYYI 3UFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=IAd1+tBy; 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 c20-20020a056a00249400b0068703c4dd35si702396pfv.1.2023.07.31.23.59.50; Tue, 01 Aug 2023 00:00:02 -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=IAd1+tBy; 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 S230412AbjHAFbA (ORCPT + 99 others); Tue, 1 Aug 2023 01:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjHAFa1 (ORCPT ); Tue, 1 Aug 2023 01:30:27 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F04E1BF1; Mon, 31 Jul 2023 22:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1690867813; bh=lFg1vkQ35QpMNiPZG92VmH5E2lHoFnctsQX4/bx0f88=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=IAd1+tBymHSE0y4XvTvxwpfywlvdj+FzyaFGcsuVczFg2Vzc9Aheiyk7EKa3Vxboq aCnJEhdrhgM3oHyAFwFCwhP8NiuPdrocJFiBYsUM4Iegc3wA4xIOARigTiYe5+1zvW nBzSsgMtZ8O0Do71ec3KDC3LJijkfZyXNAVmcDYk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 01 Aug 2023 07:30:17 +0200 Subject: [PATCH v2 10/10] selftests/nolibc: enable compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230801-nolibc-warnings-v2-10-1ba5ca57bd9b@weissschuh.net> References: <20230801-nolibc-warnings-v2-0-1ba5ca57bd9b@weissschuh.net> In-Reply-To: <20230801-nolibc-warnings-v2-0-1ba5ca57bd9b@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=1690867811; l=924; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=lFg1vkQ35QpMNiPZG92VmH5E2lHoFnctsQX4/bx0f88=; b=42I9jdwYI9NMCidgc4CYrdDi1RHSUkiVh+XQnznHQaz3fzAAJqconUyQunqWm3YqCWTbE0xai M1VuwuHZ1zpD5mBQR+eHGv8pdmJnvKK6lJDRONGmN4hm9Fcd7Ap/h35 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,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR,URIBL_BLOCKED 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..d6c24c37120c 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 -W -Wall -Wextra \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR) LDFLAGS := -s -- 2.41.0