Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp88605pxb; Fri, 29 Oct 2021 06:19:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLFB+Udmaru9JrqA35wEX4eKw3FaXQiLg8g/vfrFLgVXXsGIsvu+CXwun8mFcBFv855r5+ X-Received: by 2002:a05:600c:3b95:: with SMTP id n21mr17472718wms.159.1635513544869; Fri, 29 Oct 2021 06:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635513544; cv=none; d=google.com; s=arc-20160816; b=GjBIrli6P/kZgwW56SFXyU8ekfjRa2T2SFk57GPJPa0D2ZVSRB39PcliZq0Zru2Pzx Toi5CTumUpO+xTorzCoXL73Yi9wR86s9O+AGGHXwS27LlS5h0f7LLQeN5HJLxVmjOX6V 5VzpAUy3Q8/3HCMZrPcBieOOuUjTodmuPAaByNC0mg8U8G2ABIO0vOqijrVyeI5ssi7X 70/Ppm3HKOKYnEPK1OHS/C25fWyI2/oLbNIKaIysJECfei59S5iKlFDoa8Spds9IW0TK 94vQjCJEMkNCIkx19qmsYHektKjejsSm59gO4L8OOAj7hXwnYsg7Y00VFdSFbYc8sU5h /doA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nqrpE+xN1HTJJHKZjxhM4fYMeekIxw7w//Ios3j4/H4=; b=slC2NXTja9mlNxH/6I+sGpQselQSBPQjSMM+Yu9dmJYJzLiEYk/naTmtnAf5fk2n+Q JbZ6nSuaE1w9OoityYvrXWStD9KURcko6UvYKYEKF1xvkisZUEJn5lFLSvuTgK7C1S6/ ki17cvFtD4vz5Q0tNNPYVXz/uLiB7hrrZeQ5PNADZzOeT/ILRxcXfJVkFceSJJBGFCBQ ztfmU/UDnZ9ky458QC/ji6KoVLrwbequpUCeHUKwqU8YzcqJlnyZoUGXvnxzuao/S/td IHcKoe6iJnUNyawLLBMMcv7C954Zr4guidcPrgBfnVQqFkkuYro08EH8To9364+7JTcn ZdLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yarp0kQC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si9159896ejy.432.2021.10.29.06.18.41; Fri, 29 Oct 2021 06:19:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yarp0kQC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231679AbhJ2NTI (ORCPT + 99 others); Fri, 29 Oct 2021 09:19:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:39242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbhJ2NTH (ORCPT ); Fri, 29 Oct 2021 09:19:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 03BB961177; Fri, 29 Oct 2021 13:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635513399; bh=RiA7v1UBw9bN85yztLRB2RKleXrpK0l0Cd+7QnD9leY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Yarp0kQCNE+EG0rFEoofE1AuKzcmUjWKynudNPh8dKdmbMCfIKy9oydTWhsAvgeVl +lKsutatCom53T0ZvT4SMtsziM3O2XsJeOGN7WkCkO2FbiIfDXN31kwmyuOiW3PiyJ ZkE+ijThFLp35gISDCAwldrkJ3PALUGpcS9WsxMuoz12tqf9eXMxgplodaar0NUtSX NBpVqL4u4JgGnmAGb9qas+iXnzrOqoMTyFGWjBAdXFpGfT8dcwlQbBeBwCOnvz2CAP JWFZt39BO3xR5ZnJaiGscn0r7E9iLkm5/Z59z9ZWH7mxi/phIjqgVwt+X6FIp/vu9z mW7wubYV3CfLA== Received: by mail-ed1-f53.google.com with SMTP id w15so38685031edc.9; Fri, 29 Oct 2021 06:16:38 -0700 (PDT) X-Gm-Message-State: AOAM5308U27S/+bjV6FeYHtvI+j+CPOmatrW6OM8a7GxHv+5z1iXvk+4 X+ACBDwY6FDUtR5SuxMBLD9AIt3pijaiGBqJhQ== X-Received: by 2002:a05:6402:206b:: with SMTP id bd11mr15475405edb.145.1635513397430; Fri, 29 Oct 2021 06:16:37 -0700 (PDT) MIME-Version: 1.0 References: <20211029005802.2047081-1-frowand.list@gmail.com> In-Reply-To: From: Rob Herring Date: Fri, 29 Oct 2021 08:16:24 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] of: unittest: fix dts for interrupt-map provider build warning To: Frank Rowand Cc: devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 28, 2021 at 10:07 PM Frank Rowand wrote: > > On 10/28/21 9:07 PM, Rob Herring wrote: > > On Thu, Oct 28, 2021 at 7:58 PM wrote: > >> > >> From: Frank Rowand > >> > >> Fix kernel build warning: > >> drivers/of/unittest-data/tests-interrupts.dtsi:32.26-35.6: Warning (interrupt_map): /testcase-data/interrupts/intmap1: Missing '#address-cells' in interrupt-map provider > >> > >> A recently implemented dtc compiler warning reported the dts problem. > >> > >> Signed-off-by: Frank Rowand > >> --- > >> drivers/of/unittest-data/tests-interrupts.dtsi | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/drivers/of/unittest-data/tests-interrupts.dtsi b/drivers/of/unittest-data/tests-interrupts.dtsi > >> index 9b60a549f502..8c2b91b998aa 100644 > >> --- a/drivers/of/unittest-data/tests-interrupts.dtsi > >> +++ b/drivers/of/unittest-data/tests-interrupts.dtsi > >> @@ -31,6 +31,7 @@ test_intmap0: intmap0 { > >> > >> test_intmap1: intmap1 { > >> #interrupt-cells = <2>; > >> + #address-cells = <1>; > > > > Notice that we have 2 nodes with interrupt-map here. One has > > '#address-cells' and one doesn't. Why? Because we need to test that > > the code can handle both cases.> > > The dtc warnings are more what should 'new' users do. I don't know > > what DTs don't have #address-cells, but my guess is ancient ones. > > > > Rob > > > > I had hoped to build all of the .dts files in the Linux tree, with the > new dtc, but did not get to that today. That should flush out any > cases that would result in build fail from the new approach of treating > all warnings as errors. I may get to that tomorrow. They are still just warnings. You mean the requirement to be warning free? That's not new for dts files. > If there any any existing .dts files that will trigger the interrupt > map warning, will we require that they be fixed so that the build will > not fail? I already submitted patches for them. Rob