Message ID | 20230731-nolibc-warnings-v1-0-74973d2a52d7@weissschuh.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1856448vqg; Mon, 31 Jul 2023 00:45:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlGeTPKRnN57/6gI4nb8wVecCC6ELZU39G9xBzX5RYZ8ahgWLeKhROaPePHWNlyupHK1yIqQ X-Received: by 2002:a05:6808:1a26:b0:3a0:5748:2d95 with SMTP id bk38-20020a0568081a2600b003a057482d95mr13334715oib.39.1690789509163; Mon, 31 Jul 2023 00:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690789509; cv=none; d=google.com; s=arc-20160816; b=Y4prTlJzny9SuSlKCjKUGwxzLoycFrwpRxVBMeJyuc5q/Kv6dkti4/H39gVfA/Ub/h hCVZIWR6WrMhVLp++fDSV6u6Drj0drRTjAl0mMljCj6VLZBpf8YRxk4bk4fD/xx7rDvq B4xiL7tPt1fmobSk5zVoCNeIvDsdmC/6p5F6ga+bGj1/JG6E6O4S2AmRyWSRgpUoJo71 0IitOZSk6zNcFZhiFmpGAq8qKUdBejluoYfXBOPOsAArNz7atPX6hBCtV57dnjT6c/KY KPib7iFcCMTgeQVIk2hIiHMNaHHiRA+o8nK1j6worVic7Bv+QufQwvLaHLlsf1xSfCsJ BqTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=UAUL05Xw5H0IV8pEW0VxRyiDd8WMvOFXUai22q1qWb4=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=t4QH/h/0bJzWceqSHSu329oQAcxOL4zjmv/4cvzYmsiB1ty3GqMxJr2CYOxBHMzXgV W/1W38bmVenUfg6P8Oe1XFrA0WfUwRwhHCrFnzIl4FA9DMzpkUrtd5xjfAD4QzmDvNTk N1Qc5aIE+yzhS+k/FCanZWr11Q3ITbx1mCrjXgK7ITRPwg1DEP17jo4q170Ee4mdg15H CUeh2dP54RALBTXfTUmsqjvuWDp05gsrAUeAzddo9hg2+k4uo+eZplDl4nJon7kT9KcW UhJstbijqExa9eOyJgp3O+VgADgEFBYUX44eG/zA3j02lUJChq37Vl6oWQGTtPe9hHHK MqkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=cdQ3TjA7; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020a17090a694500b002635643286fsi8456369pjm.133.2023.07.31.00.44.56; Mon, 31 Jul 2023 00:45: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=cdQ3TjA7; 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 S230225AbjGaG1G (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Mon, 31 Jul 2023 02:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbjGaG1C (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 02:27:02 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B74E40; 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=1690784818; bh=4w2nINR/K2xvwLfxuKBUzbOaWRSRya4sRMSwVWQU2Io=; h=From:Subject:Date:To:Cc:From; b=cdQ3TjA782AVzFjUCU6aXgX0KnvkzowiP74CqFJV3WQODhs/bwjLcYn964JDLkw+y Tk4jXqxQ4S561fjVrtOChB3gm7PCbxHz9RjNCVRpckzio5lRritTk1SxsFJ53CtUtp UScXZA4XYPGqU7QWnciswi9Xj0PV07RZ/JbJIxB4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> Subject: [PATCH 0/4] tools/nolibc: enable compiler warnings Date: Mon, 31 Jul 2023 08:26:55 +0200 Message-Id: <20230731-nolibc-warnings-v1-0-74973d2a52d7@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAC9Ux2QC/x3MSwqAMAwA0atI1hb6ERWvIi5qjRqQVBpQQXp3i 8u3mHlBMBEKDNULCS8Silxg6grC7nlDRUsxWG2d7pxRHA+ag7p9YuJNVGix6Wzf+KAdlOpMuNL zH8cp5w+dv4tEYQAAAA== To: Willy Tarreau <w@1wt.eu>, Shuah Khan <shuah@kernel.org> Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuan Tan <tanyuan@tinylab.org>, Zhangjin Wu <falcon@tinylab.org>, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690784818; l=805; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=4w2nINR/K2xvwLfxuKBUzbOaWRSRya4sRMSwVWQU2Io=; b=Q7VfJ6b1xEUwhtQb6Ewpwi4/cl9YK3gaFVrCi2EYIhdSv28HaFiTbpqtKBoPSWmtfBspjqzC0 upIs9s84qkTCkbLBuEGHDaWgQMm5cZlj1spcXvXx8eDnFLqHwhEQprJ 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_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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772921300820245922 X-GMAIL-MSGID: 1772921300820245922 |
Series |
tools/nolibc: enable compiler warnings
|
|
Message
Thomas Weißschuh
July 31, 2023, 6:26 a.m. UTC
To help the developers to avoid mistakes and keep the code smaller let's
enable compiler warnings.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
selftests/nolibc: drop unused test helpers
selftests/nolibc: drop unused variables
tools/nolibc: drop unused variables
selftests/nolibc: enable -Wall compiler warnings
tools/include/nolibc/sys.h | 1 -
tools/testing/selftests/nolibc/Makefile | 2 +-
tools/testing/selftests/nolibc/nolibc-test.c | 103 ---------------------------
3 files changed, 1 insertion(+), 105 deletions(-)
---
base-commit: dfef4fc45d5713eb23d87f0863aff9c33bd4bfaf
change-id: 20230731-nolibc-warnings-c6e47284ac03
Best regards,