From patchwork Thu Nov 16 21:17:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13458274 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA947C197A0 for ; Thu, 16 Nov 2023 21:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bVvun1/Nv77AksJP9Rtbx0rupgKbAX45Gz/9w+lbhBE=; b=Y2Yobz2Au8c+MX 6uFYiflhlOrZeA5F5xz4JBCsk29v0qeXgIvTGN0M1ZoTH5xVL4i3i9w0xIEX1INshPQ5CArY2/zqy 8OyWgaGJHvipQ1Vsi/w74MfaMomgI9iCvwhMA/uSHIW5hH4I2g/QyXLDfSgAedxcJ74zQY8irGgyz T10KxkNg6u9ofoqd5zcUjF+AAjuIf/eJbzErBEYOPZoOtqbwMVNy4BPqqHWSpgj13TIy6bB/ePsNJ f+2VZGWPxwjGQKNzOClEYbnUoi8VT4iPiWDQaNuaJ7LnF2nyKZvTkOKT9rAjC9JvbWtc7oPbE0jDk 5bSMWSTo8PAcSl7nrtcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r3jkD-004s2P-0x; Thu, 16 Nov 2023 21:17:49 +0000 Received: from mail-oa1-f45.google.com ([209.85.160.45]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r3jkA-004s1H-0G for linux-arm-kernel@lists.infradead.org; Thu, 16 Nov 2023 21:17:47 +0000 Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1ef370c2e12so672587fac.1 for ; Thu, 16 Nov 2023 13:17:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700169464; x=1700774264; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qnTKqQWM65hHmGWrh7eGkwdIKG6NV9DIncGlNOoqLgY=; b=wLOlh5cDTuQvIUhHa8wyQCZQ/56X8lXKIpJ6U5FhEV/3ni95PqvDoMao/yVTWJLcJn AdCHBybwXNdsj0cPd0x9wDn8Ate0iUe3VHsgpjGCMwH2X9Dwctruj8+hOjiXsuh5K5/x 0EOTa9nucKQSEsjnP2YKbixQJBzluluvHyf7Oh2NJb3eQrmZzbNp3swn3JqFBgQUPYb6 ppd9QuU5B6BfqmWjm0EsUEWmMIiY7fbnC9kiQWd+4jhYEqpWLiACgEOTv7XaMtG9TfDJ 1IwQu64AevQOcU9o6I3JPmgSI4SPnAllK27zczXmn64gvtx8NGj09WjI4Du5pvyiR/Gv 5IdQ== X-Gm-Message-State: AOJu0YznovdM7KsQekxPt/hTvPH5wKWzdMzhVhkjo7oOjhcuMixXDH9B WHGxeB7q9gc0unGWDXB6bw== X-Google-Smtp-Source: AGHT+IEBU/vTNTcV7kR70vkC1wTuSFY8n7ps0aTSJs2J+hUbwRB6rGAjShACA+o2CIuo9Vr35pp0ww== X-Received: by 2002:a05:6870:2102:b0:1cc:c744:d320 with SMTP id f2-20020a056870210200b001ccc744d320mr22303935oae.53.1700169463720; Thu, 16 Nov 2023 13:17:43 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id mo49-20020a056871323100b001ea689d8969sm33233oac.48.2023.11.16.13.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 13:17:42 -0800 (PST) Received: (nullmailer pid 3228341 invoked by uid 1000); Thu, 16 Nov 2023 21:17:41 -0000 From: Rob Herring To: Krzysztof Kozlowski , Alim Akhtar , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm/arm64: samsung: Enable W=1 on dtbs by default Date: Thu, 16 Nov 2023 15:17:38 -0600 Message-ID: <20231116211739.3228239-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231116_131746_124027_02002128 X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Samsung platforms are clean of W=1 dtc warnings, so enable the warnings by default. This way submitters don't have to remember to run a W=1 build of the .dts files and the grumpiness of the maintainers can be reduced. Signed-off-by: Rob Herring --- Well, there's a couple of warnings on 32-bit, but they look fixable to me. There's a few other platforms we could do this to. Sadly, they are still the minority. Otherwise, we could change the default and add a flag to disable (I_STILL_HAVENT_FIXED_MY_PLATFORMS=1). --- arch/arm/boot/dts/samsung/Makefile | 3 +++ arch/arm64/boot/dts/exynos/Makefile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/samsung/Makefile b/arch/arm/boot/dts/samsung/Makefile index 7becf36656b1..b6a0e2beac00 100644 --- a/arch/arm/boot/dts/samsung/Makefile +++ b/arch/arm/boot/dts/samsung/Makefile @@ -1,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 + +KBUILD_EXTRA_WARN=1 + dtb-$(CONFIG_ARCH_EXYNOS3) += \ exynos3250-artik5-eval.dtb \ exynos3250-monk.dtb \ diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 6e4ba69268e5..45c996fba5e4 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -1,4 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 + +KBUILD_EXTRA_WARN=1 +DTC_FLAGS += -Wno-graph_child_address + dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos5433-tm2.dtb \ exynos5433-tm2e.dtb \