Received: by 10.192.165.148 with SMTP id m20csp2196332imm; Thu, 3 May 2018 12:02:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqjWOEvaQOllRx7ntrmWb07JPaUXXgwFBWEWE5WZqEmUhM8/2vfHOCS2yItHcZmgLtwbhgV X-Received: by 2002:a63:6502:: with SMTP id z2-v6mr11176280pgb.159.1525374132586; Thu, 03 May 2018 12:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525374132; cv=none; d=google.com; s=arc-20160816; b=mskZdQyjQtFecrJrdo/zd9pfbjaXlfyhJdLBxNpUKmbvfmwDCspOZdOC39JQOJPy5q 7kZL5a7cuLJpIv6KzWITk07HqUnfGEzuPLgYQmmyx1mGGYOcu6LQrKbvL3zyTYcoLIhK xC8UeubGm2h4nYBqNFvdeXNkIOiuWdnO2aJMo09IOE7fBXV/9YoLmJHGnc2muENisbZ5 H8IIs8IgdBbIqnmxGwdYFfamzxNFB4NHmiAmXXnYbxIOGJTx7kP24iDNrzRXig8UPLL9 iH5QNBKQaOMbUG3iDhFkqQ81TYsEgWdHp7XT25rn8Xk6WlIJLuTRsGZSbe2XWZnVeN3r 32eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=+GyVHQ2Qw7aGviO1iUwag2795+TE3HDhcM/yDrAmD2w=; b=vFy5NfDvJ+Yb0QIhKAh/h1SkZ9JscdqpvrydL4IsRmMzeDCOqPxtpK4p/Si184Q9Ae jLwg9oIAuNP7fZA15OM8jsUdgbgMlWt9v41BcMK7EYAfbIlVrUWqDSiZfEzqn9mJLVRn LNqe55OeegaaIt27fZB9K3oUCxlJCW80R/9ITXPKzDqMKgp4Z2FBpVioj7G3MnD4GwnA WK4zV6L7zAftE/13uaj8Sn3AJdtCbigWkD31Bcj6mcFDJmvabF59fpQZr27eJnYLfLHq P3f0DyoU66S+DKj2miZdvlF7PbW0NfoxnHQ8EXJGnm4jYzb1SPGLUoEZlfxWg8OTmQRr yNSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lYA03aRQ; 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=pass (p=NONE sp=NONE 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 e14-v6si528495pgv.516.2018.05.03.12.01.57; Thu, 03 May 2018 12:02:12 -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; dkim=pass header.i=@kernel.org header.s=default header.b=lYA03aRQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751527AbeECTBc (ORCPT + 99 others); Thu, 3 May 2018 15:01:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:45518 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbeECTB3 (ORCPT ); Thu, 3 May 2018 15:01:29 -0400 Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E86521848; Thu, 3 May 2018 19:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525374088; bh=ZtC0x0ujKrrkaZKyCAf0317fpZav7ndVSmiheJML1yI=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=lYA03aRQUOwl4MS+iaI6tfwnXSA9+BL4ue91EFRlD4FOBoVAgWvxFZyRQzopIWHUs zPYtOMNHMkywR1KbTvq6vqw+UYOiza2uJq05kwN39xKoqZbj36/h1LAtEX5osK5Ft3 cERZRTgNQtlGwtTcQ9R97bM7R77O5TRT3ya0Rhdk= Received: by mail-wr0-f181.google.com with SMTP id y15-v6so6950566wrg.11; Thu, 03 May 2018 12:01:28 -0700 (PDT) X-Gm-Message-State: ALQs6tAG4hlfGBCSFLM4hRHpW7jjwS+k+Rvd754LLrobA9qEMb7QDS+3 PO8TI2CrRVp5Lkcc7WCw6YCIEYZIzjFToChlgQU= X-Received: by 2002:adf:a075:: with SMTP id l50-v6mr20902167wrl.227.1525374086857; Thu, 03 May 2018 12:01:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.199.70 with HTTP; Thu, 3 May 2018 12:01:26 -0700 (PDT) In-Reply-To: References: <20180502201153.7459-1-malat@debian.org> <20180503184454.19131-1-malat@debian.org> <20180503185342.zawmhazzvkkdc3ja@kozik-lap> From: Krzysztof Kozlowski Date: Thu, 3 May 2018 21:01:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] arm: exynos/s3c: dts: Remove leading 0x and 0s from bindings notation To: Mathieu Malaterre Cc: Rob Herring , Mark Rutland , Kukjin Kim , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 3, 2018 at 8:58 PM, Mathieu Malaterre wrote: > On Thu, May 3, 2018 at 8:53 PM, Krzysztof Kozlowski wrote: >> On Thu, May 03, 2018 at 08:44:53PM +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\+\(.*\) {/@\1 {/g" {} + >> >> The firmware node is fixed but in my case the command is doing much >> more: > > Looks like I cannot copy/paste correctly, meant to say: > > 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\+\(.\+\) {/@\1 {/g" {} + I split it with backslash and this worked fine. I'll update the commit message, thanks! BR, Krzysztof