Message ID | 20250520052153.307194-25-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e88a:0:b0:3a3:61c9:c5d4 with SMTP id d10csp1428936wrm; Mon, 19 May 2025 22:25:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXDBP2WlYG+dqEFx0NEBzuvWunp4ck8y9CPcR50fKMOmHGa7yw1FxQP7MSwD47RO0yPsfmOqg==@linaro.org X-Google-Smtp-Source: AGHT+IEgOyAJ/Myfd73qrg1m23mXmhGyIhbmzRbREwvJqJlVl/s6BPX5i4jyK2YoO83zjqTCJ4I5 X-Received: by 2002:a05:600c:4e0e:b0:442:faa3:fadb with SMTP id 5b1f17b1804b1-442fd608293mr166288045e9.2.1747718749695; Mon, 19 May 2025 22:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747718749; cv=none; d=google.com; s=arc-20240605; b=W46uM0r9tugX9Afk8e/KdQtV7lv1uDY4PAQ7M5gZ6TW9wEtJ3owAM2juzaAAjgJc+4 kLzFT8AcQHJEfE2w22k5y2ucU++KHmlQtS9LCBCjo/QLUtzGiQJMaH3YAoSZ72NrHXyJ VDX4UNO+qxdbkRR+yF71Gpw2NDYbhkT1yUujuQwzb+eRbXw1mT2wMlljjxP6WcEWN3BX oKG1I2cDjHfWBJAKIOAT4JcpPfQ99LVnUwBb/duhF3crM31yxhduOrKATC/8kXKGWHQN Wjma6kne99SVl+ey2hPDKQpCDxBv/0guxTfqksjv0TjH4qAw8rpeI3bTAZ6VCevHMmnJ fdXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZvKd0rmm6pH8M76fz4TMzzrtdqdtkxECc8stvnnL30A=; fh=jhdKG+XUpRedMrGP0LpxOno/9dTQgppZnC/ggT44lIU=; b=UMH7B6i5t4K8oxki4M5jbSGLkKF47hSJAgwpHaQ5BlgiFTpcXZfl9Z2itzr6LR1JuL MEsNMiw+LwMPqahU/GIFyXeiQlecjO+4H5KPJa/RGx1AFcqPknClD+1/04dADi2ITzX9 65VEqXy1W3Yb882Mjupf6hfLrRrSsAkc+wsOoQEb0fuyJFE9ofDtIZNdxfV3Q8OU6Gfo pRwX0waKuW3S2e8idlpg2KVdSEUU7NkmpnWMS5330iarMYYze+cR1WDhQSrPm9lOqIgM L+hhZ1XRH7wgs0xVVjwdyrvLDd91WJl8f9ppu17UmzYStPZEUoMfEbwp6NjgpJa+2onS dpDw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8aI+E0D; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 5b1f17b1804b1-447f1ef02cesi6751135e9.52.2025.05.19.22.25.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:25:49 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8aI+E0D; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E13E382D33; Tue, 20 May 2025 07:23:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="b8aI+E0D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0D7A582D34; Tue, 20 May 2025 07:23:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 24F2782BD9 for <u-boot@lists.denx.de>; Tue, 20 May 2025 07:22:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43d04dc73b7so56248045e9.3 for <u-boot@lists.denx.de>; Mon, 19 May 2025 22:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747718577; x=1748323377; darn=lists.denx.de; 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=ZvKd0rmm6pH8M76fz4TMzzrtdqdtkxECc8stvnnL30A=; b=b8aI+E0Df9Cw9wh1KZKBeYNCoh8BrKOIE84T5AXqXdITRaCgrArICnd/YEcvFZ4Emn PAOckEh0i6ZpOJ8byq/QCtR/T2i89HNKQRUtkLC43FUVMZ7f6aaJFlGmjextbarksQVk MFQ+eeippJM5aq4J3gK9wlem8M8LF1UNL3nr8c5lUiWjO37txDGu33OKIt+rPZY/6Z6K VwFwI+hv7tXjLOTqSree7SRlxyuNulK6EWnFhACz93d/Tc43cFh2dbbDh+0zbrY8C8Tg 0eVCMhdaktMOjbVviwIZIH5cG2DjQYNyNVWbAv9j+SDpBLTU3OvOMnI2jitesbvGb3c2 BHbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747718577; x=1748323377; 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=ZvKd0rmm6pH8M76fz4TMzzrtdqdtkxECc8stvnnL30A=; b=YUs7Sz9FNC6HguIScy98OePEX/m5vFxcntqjs/RW4zj6uJySZlCXKzeBM1XaxH10IA ux3y2t4fWeH18DVCMdiLkQlUEi9tZuSOLL4UBxfDVAuKeUURBehaVRsl1uQYjFyAtdAj oF/NtHRE33h1PwbOZz30xOkWtq2vEWnsnmocps/RCxxLCb8hdGSjd4H345r3ksOGlnOs x0dkKIXiJHtyU40CsI1IecBJhPMIbO/VPtI9VlhEaDbByr2/asBpWXa2/viHOYoXQE7/ z9gIqTjaO1c2pskFa7hYoEP337aH/o+ZdsAFwyHFlHTBX0YqF6G7dzXdWuKISaNpfa2l y+sg== X-Forwarded-Encrypted: i=1; AJvYcCVCLny3GXRojeAMjQ8EVHsZF5wDnChkuoUQFLLQ6P1ksscUaY88gNHNnJtiwK16PwyDLmS1HoQ=@lists.denx.de X-Gm-Message-State: AOJu0YwDreqra3mp7NKp0N4lbP3eEWLeUNYqYb0AUZ8d/T26nU8TjcQ4 tkRS6bwNIc5DKzTSS/dAkjoAmdknqcW5rC+eETwKcZzmuMTJWSFVraWsmXHJd8u87nk= X-Gm-Gg: ASbGncsiOLBy9Fs70nxSoLDswSQp9tbvpH8lmF/aVU27PzF0beUtK+c7wgUpa5BTDEh F9dJaBCpn0HUbRar+jdC5xRKRtx0PGSmi7E/C+l/9KYtRnLVay2xNalGDWx3ToxopMn5XK3FjHQ E8BDpPgbOW6qh4s+p81QSxLgJ1udUfnqgfZGxn0s13T6REJiWtLhYWmlal7WtDSCuXPUFzy8Rrq FdB4wQa8ThYongV2O+d00ijurHkFleuAE7i5HnmeX1b8FTadgx7gcPpT6bF4ayTCZimQgEPBTo4 FzTrSdmaIXbwDJES4n1HehZWLXaK3Ww3Nd2xHADzq3xERjx2B90OoDT8cK4CcWkxDDJu2SUKgkA = X-Received: by 2002:a05:600c:8507:b0:43c:f597:d582 with SMTP id 5b1f17b1804b1-442fd608753mr137333235e9.1.1747718577628; Mon, 19 May 2025 22:22:57 -0700 (PDT) Received: from localhost.localdomain ([46.198.180.244]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a35ca889e6sm15100762f8f.71.2025.05.19.22.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:22:57 -0700 (PDT) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: trini@konsulko.com Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Marek Vasut <marek.vasut+renesas@mailbox.org>, Peter Robinson <pbrobinson@gmail.com>, Prasad Kummari <prasad.kummari@amd.com>, Michal Simek <michal.simek@amd.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Rasmus Villemoes <rasmus.villemoes@prevas.dk>, Sam Edwards <cfsworks@gmail.com>, Jonathan Humphreys <j-humphreys@ti.com>, Quentin Schulz <quentin.schulz@cherry.de>, u-boot@lists.denx.de Subject: [PATCH 24/24] kbuild: add -Werror=strict-prototypes flag unconditionally Date: Tue, 20 May 2025 08:21:35 +0300 Message-ID: <20250520052153.307194-25-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250520052153.307194-1-ilias.apalodimas@linaro.org> References: <20250520052153.307194-1-ilias.apalodimas@linaro.org> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Update kbuild
|
expand
|
diff --git a/Makefile b/Makefile index 66803f089d48..2890edbcc43f 100644 --- a/Makefile +++ b/Makefile @@ -433,7 +433,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__ -KBUILD_CFLAGS := -Wall -Wstrict-prototypes \ +KBUILD_CFLAGS := -Wall -Werror=strict-prototypes -Wno-trigraphs \ -Wno-format-security \ -fno-builtin -ffreestanding $(CSTD_FLAG) KBUILD_CFLAGS += -fshort-wchar -fno-strict-aliasing
Backported from kernel commit eeb5687a7139649e ("kbuild: add -Werror=strict-prototypes flag unconditionally") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)