Received: by 10.192.165.148 with SMTP id m20csp2050997imm; Thu, 3 May 2018 09:32:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoc7/3lDR1uqUI3yGHo0rXz4Vgq0/FGTUrMtJW9WDV+T8VUQRjwpmLBwwL+kieYo7DOjbti X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr24062480plb.99.1525365169574; Thu, 03 May 2018 09:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525365169; cv=none; d=google.com; s=arc-20160816; b=RPFVQbUVvp0AJgo0iEbDM27W+FTvS750aoRycoJQimaUkM3H+11aUUg5fJuPw0r1cp mYQ6pF2Eq1HVw+pcLcHlUrsvO+V9jSI5Hx8LMUHtQKo5cHRfeYUYm7F6NMKz+eccIqzS fYKzvmb0qYx4HzyBkm3MyaguTE0tcvLb1ZdthUuYcvVOB619/G4Ur8yshKplFFwda+O4 IK3S4tsfMIDqWq5U1bcC6Z95JVazdxxf/3+BT2I3CvpoO+64+9gBtIYot9QWjMLIHiGJ qN2P0Xul94Au7i2NGxzfXtcHtFREfjbaPUNYlJF9ax0CBUNrYee71JNBfkphnoq3dgO9 ZQiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/UjItq92gZSQiCASCp2ocLcOSGhmnicdyvEytTXWA1A=; b=T6Bm9WQv2M5GydQXaVnFve1jIqsBJtAYfnoH4pUnZzdJvk+CnTkhEFyvizRVIJCTcO e2EdeXgzrwb2S6/lZ7h46gxgD5n8vOWBmsfFP1J9MCuyjjb8oDLK1fKEK7van8/YlGjd SQf0lO2UDem8mUrekeyIBRBFpwYrAXFAY1znmJ28t0y1ss9h2QT2DjIBlNT/OqQZf1IH R9Sikw2vKYuCalRuSgCOSNqLZuH53G46J4x6TWtTs6NV7fTwTsR62eij4HQVyJKe/Fh/ 1nlT+svPghW2w5f5TLWs1fQJ+CcIXd1D46LHao6AuyIPmXAZRFAiEfrjCMX/ynrWC8ti OZRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si13490607plr.320.2018.05.03.09.32.35; Thu, 03 May 2018 09:32:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751644AbeECQaf (ORCPT + 99 others); Thu, 3 May 2018 12:30:35 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38804 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316AbeECQab (ORCPT ); Thu, 3 May 2018 12:30:31 -0400 Received: by mail-wm0-f68.google.com with SMTP id i3so31396433wmf.3; Thu, 03 May 2018 09:30:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/UjItq92gZSQiCASCp2ocLcOSGhmnicdyvEytTXWA1A=; b=btSXqivoqgCIVsZeDicqSUHmQrI/g7EADK48fV0lm9CcUHVMmHqlUxk2JAdlpE0rAn aMCyKUPwTA1AsJIxNELC9z/UvUPMnG3zlDFIhY51FHpdr8DlUXvd46HIyRGw8ArqzI7f Jxgu6Wh37oPPh/h2Fe41CYpMoCJdBqODbEUn082x2bQcVR3jVndJrYbV7QIfBUumllXc 0vIo+A048LL96K19I6qDEx1OrzgNkFZBFxmcJFPYfvDQYCdIcH/YHrSptcuX6yujGQQy 5XuE5qQFZs/7npzWyi9xG1kYXqo0VLXqYIIXAoYxL1JaiR9Z0WbuAzMpjoTyBZtekk52 cR5w== X-Gm-Message-State: ALQs6tBu2x2sJMjFKWYworxfsE+WMT3MPGI10LnmiPeSjXvaA3vdeWwM nRux/fHH0rs+e4tgneJcE0I= X-Received: by 2002:a50:8e83:: with SMTP id w3-v6mr31593757edw.140.1525365029943; Thu, 03 May 2018 09:30:29 -0700 (PDT) Received: from kozik-lap (adsl-84-226-183-37.adslplus.ch. [84.226.183.37]) by smtp.googlemail.com with ESMTPSA id m31-v6sm3286567edc.94.2018.05.03.09.30.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 09:30:29 -0700 (PDT) Date: Thu, 3 May 2018 18:30:27 +0200 From: Krzysztof Kozlowski To: Mathieu Malaterre Cc: Rob Herring , Mark Rutland , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm: exynos/s3c: dts: Remove leading 0x and 0s from bindings notation Message-ID: <20180503163027.lthixenaguphn4du@kozik-lap> References: <20171215124630.30082-1-malat@debian.org> <20180502201153.7459-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180502201153.7459-1-malat@debian.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 02, 2018 at 10:11:52PM +0200, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading "0x" > > and > > Warning (unit_address_format): Node /XXX unit name should not have leading 0s > > Converted using the following command: > > find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -i -e "s/@\([0-9a-fA-FxX\.;:#]\+\)\s*{/@\L\1 {/g" -e "s/@0x\(.*\) {/@\1 {/g" -e "s/@0\+\(.*\) {/@0\1 {/g" {} + > > For simplicity, two sed expressions were used to solve each warnings separately. > > To make the regex expression more robust a few other issues were resolved, > namely setting unit-address to lower case, and adding a whitespace before the > the opening curly brace: > > https://elinux.org/Device_Tree_Linux#Linux_conventions > > This will solve as a side effect warning: > > Warning (simple_bus_reg): Node /XXX@ simple-bus unit address format error, expected "" > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herring > Acked-by: Krzysztof Kozlowski > Signed-off-by: Mathieu Malaterre > --- > v2: intermediate patch contained unrelated changes. restrict to S3 and Exynos* > > arch/arm/boot/dts/exynos5420.dtsi | 36 ++++++++++++++++++------------------ > arch/arm/boot/dts/s3c2416.dtsi | 8 ++++---- > 2 files changed, 22 insertions(+), 22 deletions(-) > Thanks, applied. Best regards, Krzysztof