Received: by 10.223.185.116 with SMTP id b49csp2135870wrg; Thu, 22 Feb 2018 08:40:42 -0800 (PST) X-Google-Smtp-Source: AH8x2255s9cNYzILQOm+/phiPBq69K3pu6kZu+PgIkPfrGD6FopRiYCjnbxobozxrGyKFUHjikRV X-Received: by 10.99.178.2 with SMTP id x2mr6260234pge.98.1519317642676; Thu, 22 Feb 2018 08:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519317642; cv=none; d=google.com; s=arc-20160816; b=0r+nLL5SXoC5L3299yTL6RfK5ntY22B5wLyGgEUNQJgjoifV7l88pMRvXRwDozYb0K kEQ10yFrTBXcz1DMJztEc/EnQ2YylkWJzrSfJIxp3L3PAQN/B86LeuLZ4H/ZQHicEQoN h+TT5RbVL9FygwlJSWBbLEDi/naIprmDWRrpvSb3bT+i9B9Mw0yex91kLdlySHMnCcmM GgUekpVyV1Rwlkko/GUgfAzi+aDlgznE0Kny1WZFr+5OX0vPMEOisC37qnQNieASHKbN Fq4k1NmrYE/BhqnrRzGPhWYe6SRWnWccrMK0nC3RqCeDh4Rd6Mv3P0gcJCTYSM4YEYpT YvgQ== 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=xJYDhiEYax2zYs+v9EQOu9VrWtMjIcAaz6l2X3wbywI=; b=kPdUhSnlOWYOXg+3Q3l3XriXQfFgK5eQJCibpgMFLzjWAm10MFvmQC858yhySNxrcf FYSTWckVHq3DYbVqBnc7aSlYhOTtl/znMkljTBaZ4sqnMdS/A+quTEaOxHiSFPNS35s9 ZAz013gtFHOjTQtO4mZkq0BehJsEbJ3fjzhnLjLC5EEqQ3G65F3cwZ1T0IVk8+f6tPBk oSyRaFn8ZTgU17XmGJ7YwkpgQo5aANK9AxPiZB1Zkac+6UUrEX720/hgqMSYWbU0Y4aV iOjt4sfG1t4PsZIp/8hbYFxW/ZQxzuIf+AblhJsJ/5cmkUexztD8sAK90mv/eeb0V/vm rfNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Gt7c3Nzm; 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 l5-v6si287238pli.375.2018.02.22.08.40.27; Thu, 22 Feb 2018 08:40:42 -0800 (PST) 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=Gt7c3Nzm; 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 S933361AbeBVQjj (ORCPT + 99 others); Thu, 22 Feb 2018 11:39:39 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:42848 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933164AbeBVQjg (ORCPT ); Thu, 22 Feb 2018 11:39:36 -0500 Received: by mail-qt0-f195.google.com with SMTP id l19so7035195qtj.9; Thu, 22 Feb 2018 08:39:36 -0800 (PST) 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=xJYDhiEYax2zYs+v9EQOu9VrWtMjIcAaz6l2X3wbywI=; b=Gt7c3Nzm4pIF2pide2lU0aufIqmQB1chLWJMOS8hzeqKqYUcD0+Xda28Dpv+nvbnyF qbfNGJwysaqG4HkotdGM9k2yIe8BDOAQCSnmrAjTV8iK3wQ41tjZXWzXud2oRoDhuI3e A6X3B5o2KB2WBMQpBYREhL1/KAY27EuyzdpP1FxbOLvyRRNDW2VRTkqpOpVRyfqQ8qZj w3aUrRDM02FycD8nnFeeMB9rmh6l5+Csr3PmJj01tEO/b8P+26zIWHzUBQ/JrSLI+rN3 8BCOXH3NAhGvz2DF2Ogg1X2HHKn712FPInwAS/HiUcQjoiNcVOk3x6NDNtcN0T+5Qo+C zemg== 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=xJYDhiEYax2zYs+v9EQOu9VrWtMjIcAaz6l2X3wbywI=; b=okxSxvzXLADe34+tNNKD2k9PCGVoiTbA5gyX+FiZMNeHii9Bqqkv0/DKGOTplmmE2M /wTtvsa8LNccPhclzFHKDvtuteXm1FUFF4rt4V8BJIoQAwS9i6XMKf947pkhLEgbyq7x U18ldkG9kM6P/jnM4HMXfrlgxxqXntlTv7kpUUO7ug/OKaQ0EDwo4QmRlD7RwvSAdC9P u1m/aNFeycYx7CsRiYcxVBNnfZXUy/Cpzjb6AgghWtA7Mze9xiOiIX5zddCB8Hc7s74I wRlv0PKsSj0z1YmFBU4ThOVsiXPlmVtAedOflzwbVemVVbVtqT9SVVEtV7fuC0g3zIiO ls4A== X-Gm-Message-State: APf1xPB0btH6o2M7TytQysjQaFT3cRSj7UgcXUpIhQ9uStGFF58i6b6l Ae9Z5RuDfsfOkY2LUWe5365cXIbpzCnwSjGQCmE= X-Received: by 10.200.47.53 with SMTP id j50mr11652574qta.185.1519317576184; Thu, 22 Feb 2018 08:39:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.198.17 with HTTP; Thu, 22 Feb 2018 08:39:35 -0800 (PST) In-Reply-To: <20171226080312.GE23070@X250> References: <20171215124649.30692-1-malat@debian.org> <20171226080312.GE23070@X250> From: Arnd Bergmann Date: Thu, 22 Feb 2018 17:39:35 +0100 X-Google-Sender-Auth: DS4fNFNE-pXNbSgVq1gek6L5ywA Message-ID: Subject: Re: [PATCH 16/25] arm: zx: dts: Remove leading 0x and 0s from bindings notation To: Shawn Guo Cc: Mathieu Malaterre , Olof Johansson , Rob Herring , Jun Nie , Baoyou Xie , Mark Rutland , Russell King , Linux ARM , DTML , Linux Kernel Mailing List 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 Tue, Dec 26, 2017 at 9:03 AM, Shawn Guo wrote: > On Fri, Dec 15, 2017 at 01:46:48PM +0100, 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" {} +^C >> >> 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 >> Signed-off-by: Mathieu Malaterre > > Hi Arnd, Olof, > > I do not have any other ZTE ZX platform patches to send you. Is it okay > to send this one using IMX branch, or can you apply it to arm-soc > directly? Applied to fixes now, thanks and sorry for the delay. Arnd