Received: by 10.223.176.46 with SMTP id f43csp3471583wra; Mon, 22 Jan 2018 15:06:03 -0800 (PST) X-Google-Smtp-Source: AH8x225OPS8TySIrwP6+PCu7kMSTV+BYO+vYvlJEyz7/MWkgtp9eQS78J72oqSd3zgqnAwMEkayK X-Received: by 10.36.66.14 with SMTP id i14mr822141itb.32.1516662363087; Mon, 22 Jan 2018 15:06:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516662363; cv=none; d=google.com; s=arc-20160816; b=oJFqGzdlcPkqXyh1inwWqKDtA1maYZvSRCiGMwpevIV9856UWAY2w9svaP2ymGPeRM BN4fp56Mfx1CWj7mF1n7WDHw1Cv+//m2ReS9DefJ/nu9ANb91EL/ACPuw8UdqCkZo6G/ HroLULglkNBW0p4XNwA5e9tfZP8e+r9sg/Vk/ukeRsCNJzbA1MnvnUuVbDT6p7yFNtmC tyF21+DM7D20VCRtlF9USeIj8p5PJao75zdI6cWQmaovc2i+s7xMKfc75p8IqDJDmAOo rVgkevrNqMifyIxQv/NWYIXOKJy+XHv+ALK8zYvYV2ZubD2rP3Cg1HzUOomZmDLR0CTM dBfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=+g/WKHucitILW6swh8WwYaG6dIovH62bx5E7EtW/yxY=; b=eNHwqFMhFdjM9O7asCgYRsW1VyDWzAynrvped7tdzbiJ1t65CHiPPvTp2aOLSs1POP poPOFuuDW22exnBqZKfI5UD5S9MmHR4V7xM8kju+Zv7iL5B1sZOINO1RNTLNppm/TZZO gXBwwNBzeSI3iECe7bvUyGSqOeqfQsyFGpvESevfAtZ0IKRHm8MeUEvbFjt9MRfhpAQj juotEJ7Y1IUOiZiyOBWKqVNUZMsZSY0eUggPMn8JO85xKU7w0NTOlFxaL/7Zar3iGRdC 0EnXdi9paK3IzkAo22VuwTjBw9XsHZAPFmlw52pshO3npeqXt0O8sNKcfwigxLTV6ZvY W35g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EM1iJbB0; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i190si6897539itg.66.2018.01.22.15.05.50; Mon, 22 Jan 2018 15:06:03 -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=pass header.i=@gmail.com header.s=20161025 header.b=EM1iJbB0; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751210AbeAVXES (ORCPT + 99 others); Mon, 22 Jan 2018 18:04:18 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:37212 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbeAVXEQ (ORCPT ); Mon, 22 Jan 2018 18:04:16 -0500 Received: by mail-wr0-f194.google.com with SMTP id f11so10476506wre.4; Mon, 22 Jan 2018 15:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+g/WKHucitILW6swh8WwYaG6dIovH62bx5E7EtW/yxY=; b=EM1iJbB06cxohLv4YnfDnyDpKphODCrULoRsmqMWpjCL5zAxl5f/SGyHivuYSIrMD+ 4Psyql5xu0phfwuz1btHMkUXWK7Asp6XncgrGvQ/ktjkIXIAJwbxHYMY2Ia1oRP27MlQ OfCopfhK55Kpw2DhFug2qcE50IOB1SvfJXnvqr+mqtQNRGeetngWt7Kb4fQ1i0ACJvi1 1ASpJ+sRDF2wFEQoaJDP2IXfDBb6hSb1uI0BXbIMprnniwMzvKaG8V8/8sF5Z9kRNrhT g6z48Hu6sqhLLC7XSYUm+Fx4Smz/GBENqqW8cUX5W2+EjxZiWHIRuZTBFLq0hCvkiyTY y6BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+g/WKHucitILW6swh8WwYaG6dIovH62bx5E7EtW/yxY=; b=Ml2QMFEGC5Wqnwwc5pMH3ZT3b+gmEeE0BS7qhvxk+aMS47ipl2lkdOq/vDZLW1Xrn1 Hz8iG+nLhde4Qu7EOftQCL89A0/9AhuxmjnlzsdTAnc5CdmRamPkUwpqMAUbnE4u9Gut O+hDqAUs5ORJ4Yf9RW+dWwutlvcq65BNMPEwJeyCkApEw+mLXEKsxVNz+9cpbH5p0SWq EMOYZ1+OoSoOhAFTBpTCYE8e+HtdFQnrFuBIQobm4pnhXsn4KHRVY3uF5xIryeh3ahqk 5a/yGJqvM60u53yCTWibi6qQ2tfgbUHd4bWf5bu3W3L6FfjI4Gudpa9nfRZ8VRfPlNO5 zxPQ== X-Gm-Message-State: AKwxyte19Dcj4kh/rOBt1t3LIVjJPEOd343M3mUjObFz6bRWTnb30ICm JBPQOqRgacsxdBstYhtp8bU= X-Received: by 10.223.166.170 with SMTP id t39mr359470wrc.106.1516662255281; Mon, 22 Jan 2018 15:04:15 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id b35sm22340860wra.13.2018.01.22.15.04.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jan 2018 15:04:14 -0800 (PST) From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, Mathieu Malaterre , Rob Herring Cc: Mark Rutland , Russell King , Ray Jui , Scott Branden , Jon Mason , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/25] arm: bcm: dts: Remove leading 0x and 0s from bindings notation Date: Mon, 22 Jan 2018 15:04:09 -0800 Message-Id: <20180122230410.8712-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171215124628.30029-1-malat@debian.org> References: <20171215124628.30029-1-malat@debian.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Dec 2017 13:46:28 +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 > --- Applied to devicetree/fixes, thanks! -- Florian