Received: by 10.192.165.148 with SMTP id m20csp2193269imm; Thu, 3 May 2018 12:00:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqgHetaIuCTBVHRWHuL3m12OlsoZ9HKpZ2ofxgkkO8lxSpgwlsU06w2rGO52QwMILlTH5Zb X-Received: by 10.98.29.82 with SMTP id d79mr24100486pfd.230.1525374015885; Thu, 03 May 2018 12:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525374015; cv=none; d=google.com; s=arc-20160816; b=Vs8yTXauImmB6in5U8OtnlW7XFQP8t7ZelViSKmPyaqZwSMKWLKvmh0ksPYIzB8osX sHlu5kjfKDJTe4qexKJnH+dO15xQ7PfobO0qq9C6qtslJbeNcdT2ZEH/2AC4obG+R8Ba 1W8zsds2PI8+7fUd587poF7IWEH3o4NfOlF0x23Hb5+L/iE/NondOQp6LEYH2zlPrkEm TDM8+6CUDNZwt5A3oB01cboa/WJFQQdtUbZ7xv7o83/vLrI6TIIqkVJBPUUDH6vvHo3S zSR3tThyJJucjyfa2/aqJ4tq7vnN+OKN7DyGI1DDCh92G7YDxNAsJFCwXstD8kZiFP73 LoRw== 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=f3S4DvcJyTRTD9hq2WctiFrIwMx/Z/wOOM9/crxpqug=; b=fqihg28Rt78xToa22InaeYoSV+rQ0ESO8OsabuEJRf2Xsq0TAEj1AqYaHb9CL+5wUQ M+104UhdSV6QBLKvv6fiM3T29mZNnyLRLaEzUAlxorOA+NE4MmNFClFPAO72ZKPs2lzt +7/7vxRWoxbigko/2ob6x5Wb1oaHuFeKfvsU1+o4s6fSVWOFqnrabK1cjbP0n2ypyySL n5FFTqgRPVx+U7mdg56S/G0HI9BKBpGb6h29I9Egp9TBFi71GxtAaHw7iZNxYvqj9XBc 5P33N6kpTEPgTdWyWu8m8Koyi6lxituK3ioeHasB7CQE8wPG126SkyReNj5SR4Ilci3i 7+MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JBQUNUXB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18-v6si11864939pgn.669.2018.05.03.12.00.01; Thu, 03 May 2018 12:00:15 -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=fail header.i=@gmail.com header.s=20161025 header.b=JBQUNUXB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751643AbeECS7l (ORCPT + 99 others); Thu, 3 May 2018 14:59:41 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:38602 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbeECS6r (ORCPT ); Thu, 3 May 2018 14:58:47 -0400 Received: by mail-ot0-f193.google.com with SMTP id j27-v6so21842273ota.5; Thu, 03 May 2018 11:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=f3S4DvcJyTRTD9hq2WctiFrIwMx/Z/wOOM9/crxpqug=; b=JBQUNUXBFt3tDzDJKhQBi3ti5OoboMpB6eR5vvSPT9bY+3QuH8X/bKHHjOmigbfyoF jpWqq/zEiza8qB/xy5laiTXfrKq9ByteYzR9Rxf/u9YTFdS6RxK03xs0KLsphY0si4DY jBUe9SLXWoxUC7eYIVgReyjZPJKQ8zZRG9cGJ/W0591w9KkfXz7JHF4xleijAw20cRze 1vm0cUgiibe74SHOgT9yLj/KynLfa2MBc0+G/ClqL1soSP0AxatLiWHET/IAdvVE02jP 0UBm1dt12fkrercXdIEiSYYMr/5SJqfDSSI5k2gNFWsKl6VeB5ziWT/N4+f2LLVPfUul R5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=f3S4DvcJyTRTD9hq2WctiFrIwMx/Z/wOOM9/crxpqug=; b=qSjjEG+pnYvuvdMyVWm7/dFOyBAIIHtbWxg863OGAHo/tuzyp0R/tHDv7UypcxSBTS xhp2c+fneAWCbiACrw/h3H/k/iV492OEu6ErXFeb8h26yJ+Zdv1i6Mvljc2wximgS+Ms bhkcfFC258jBYlOI0z99mUJa74lvAd8ZPaQioEm2MrEgx6QbVDihPYBhOqqy0F7yExKP FCTenzWkWvL/gb8X3NVWCF7yinqvZm0+C0pCSE2aEUWDT7S4JCFeI99UtpoFkJTkgmUh Zg1hyLOVN0X80Cy+LMW6k/LgthFVGxZk4Lp4wdWOD2SGdn0ulGwEGt9dzPpEnJ95lA+I lodQ== X-Gm-Message-State: ALQs6tAB6Fsu5rjwPyY4P9P8I7eEKvj+19xvyf4vBujcaxQ2z+ukRcR2 T98UNQD/kWU4sAdacTbNDEAqxlmdGPBTceDlI2c= X-Received: by 2002:a9d:1b6d:: with SMTP id l100-v6mr17795938otl.127.1525373926051; Thu, 03 May 2018 11:58:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.138.3.5 with HTTP; Thu, 3 May 2018 11:58:25 -0700 (PDT) In-Reply-To: <20180503185342.zawmhazzvkkdc3ja@kozik-lap> References: <20180502201153.7459-1-malat@debian.org> <20180503184454.19131-1-malat@debian.org> <20180503185342.zawmhazzvkkdc3ja@kozik-lap> From: Mathieu Malaterre Date: Thu, 3 May 2018 20:58:25 +0200 X-Google-Sender-Auth: puLLrFM3ZKM4B6nYzoFNXjhb5ic Message-ID: Subject: Re: [PATCH v3] arm: exynos/s3c: dts: Remove leading 0x and 0s from bindings notation To: Krzysztof Kozlowski 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: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" {} + > - smp-sysram@0 { > + smp-sysram@ { > > - port@0 { > + port@ { > > Best regards, > Krzysztof