Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C1C48C64ED6 for ; Mon, 27 Feb 2023 22:09:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DEE9D8523A; Mon, 27 Feb 2023 23:08:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="bhHGWPyq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 44EDA85AA5; Mon, 27 Feb 2023 23:08:46 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 506F6830E9 for ; Mon, 27 Feb 2023 23:08:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id h19so8452901qtk.7 for ; Mon, 27 Feb 2023 14:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677535721; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=B0gzpne/OQiqKXwczo53PGnC+6CP70kZAA/WvtAhAAo=; b=bhHGWPyq+0Tnc2ir8avFY5HIXkDNtTjHBUNPk3MP09rm4K9c3BKZnxwarm8gFxAUF5 yysbSBlu1jZrkFFPoCSBzpCRYl2Xvu++DSt3Up5UM5rlcDWKf2kiE5/8ymcV0CkjzW1i jJ8EcQol7PtXuVHf2UrJo1NkmEv7q9JoJY3lU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677535721; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B0gzpne/OQiqKXwczo53PGnC+6CP70kZAA/WvtAhAAo=; b=jAzYfVBr0cdU6LuHGJFZ/p4Jb09tnu/6kYP77hwiHskRXkAmGpLXrJN2ZEaoUFRHG2 GegOPcSOxdRpjs3X8nqXmf440ITnvP9VqVOzWxqGiOYhLtn74bDK/mmnIUoGCxUTTnFy kd0a3n/ZdFZcMCGzVBSg8iSu61k0nOXorFu9ft8fA1ttEcY1YWGOro6Bl+4+x5KlYkBp T7rpq3AX9g9L0j8bvQetwHlMl7YF58K0PGFml2gPaiG7OMOtRWRZkmluCWJVZ8ctGCDv +DlmkhMnK6SETy0R0WUXEMAHFkRWT8XKqF5IxCxtHh0Y9uDgMBPruVKkFJWoxJ3TArZx T4Xw== X-Gm-Message-State: AO0yUKWdid4LLBYNtHoiM52TWfY5uvt9j+j3jqb2porG2CH3D3+TacLm MvytNe3PctkKRKbQ1sEec0PmxqA9oCkzo6zU/Hw= X-Google-Smtp-Source: AK7set9NLypH3XQRp+9Gy4stfhCzow4w9E6089v1gf6T1Y19hjF1LxxSA0Z81DwQBz3P6LOl1UrPsA== X-Received: by 2002:ac8:5c06:0:b0:3bf:c5d8:d94 with SMTP id i6-20020ac85c06000000b003bfc5d80d94mr1377490qti.2.1677535720754; Mon, 27 Feb 2023 14:08:40 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id x2-20020ac86b42000000b003b635a5d56csm5375454qts.30.2023.02.27.14.08.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 14:08:40 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/7] global: Disable deprecated-non-prototype warning with clang Date: Mon, 27 Feb 2023 17:08:33 -0500 Message-Id: <20230227220839.2519733-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean We have a number of places in the code which use the following syntax: void func(a, b, c) int a; /* Does a */ something_t *b; /* Pointer to b */ int c; /* Does c */ { ... } Which while not what we document as our coding style, this is also code which we have imported from other projects, and would like to re-sync with in the future. While the biggest example of this is the zlib code, there are other places as well. For now, we will silence this warning. Signed-off-by: Tom Rini --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 54f894dab841..d2c132be6e09 100644 --- a/Makefile +++ b/Makefile @@ -790,6 +790,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare) # See modpost pattern 2 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) +KBUILD_CFLAGS += $(call cc-disable-warning, deprecated-non-prototype) endif # These warnings generated too much noise in a regular build. -- 2.34.1