From patchwork Tue Jul 18 21:43:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 9849793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83D1460392 for ; Tue, 18 Jul 2017 21:58:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C088285FD for ; Tue, 18 Jul 2017 21:58:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60B7F28600; Tue, 18 Jul 2017 21:58:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EE920285FD for ; Tue, 18 Jul 2017 21:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=8GQHVQ6Qq4DLqVf/QF8xpMviwg5hJbjlRYBMQSc6bV0=; b=ivZ QhQ8jTJnw6sAyiqEyild0V2Dt/tMioFd8bcNOxoPzsmAy0SemP7wkmZEuf3LniqFyN4+OYvCRiEMA muezbpWYP8kMor5SqJhVOdfDWo4/KzzjoPsa+8JvPApw3ZdeNxN1t/l9whQgO3ZuD7Rgl9DP2kw7c KMqp4SweOiYhaZetN70dKC35+HKUh24ffKBIYnN2Ef3d5fC9L1+fk0TzQ06MPkzMlrJrpvC3TJ4tm rI3yxaLur0aMKvMj8eHdorDIpuDZBJbneVVuPTo3MV86JfXPw3hMsBjKfMFVid2yexsasUU6/Bmoe 3x5OBUW7WdH0R16VQMxB/raCmWEutwA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXaVG-0003Ch-1F; Tue, 18 Jul 2017 21:58:02 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXaUe-00027j-Uy for linux-arm-kernel@bombadil.infradead.org; Tue, 18 Jul 2017 21:57:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=s4HgYKqm/Ipe+vsW6juVdtfmE5grJJ4kJBv9c/S7u/0=; b=ZQ7wGCkONHFqzFjosr71zvvRR 0uk5D1o5vz3fQSLj+1TIXHWslTZ/9BxMdb79V/r5klqJ7eP73o9eINgaEdGsEuaGpythaU0NGeO0Z f3xQAyY096EdjiDtQxzk+oa/H79RKKToYMyIV07duXxcL8XtuRqRb6yzrTOFnSoocGrSs/OUSgbY8 r/ZTA4el3GX6oZ6kNpgLfexlorOc/cYDJ/nQGk1JDo1niI9owgzwzInvzwXxccJDKz5nC0YF9qcTp pjDZJsEIfenAk7OMrwVsU98sUtZMHfnAVDhiA+t+EkjcwUPkfoBmLKr5ZoH9GgN7dRJTEjhGFj9cd QN6jZf7pg==; Received: from mail-pf0-f196.google.com ([209.85.192.196]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXaIp-0006QW-8L for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2017 21:45:12 +0000 Received: by mail-pf0-f196.google.com with SMTP id e199so4072387pfh.0 for ; Tue, 18 Jul 2017 14:44:53 -0700 (PDT) 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; bh=s4HgYKqm/Ipe+vsW6juVdtfmE5grJJ4kJBv9c/S7u/0=; b=H/zdC5mL5UXAL0IdxqRhmUbmnxGhNAX13DsMbjS9O2Fv5Zjw33spB0w8Y8RmhvUFtn Qb7m3gZ3s7972faHHXKBj8la0B7Nxf+AC0pvjecFjfBPCSkmAECL8EhFsxlIieMkpbgB SCnVz0hLH6GzIaNFuSteUjqqhboHg2v7+IWAsY//l0HN7vvHEWHYihW6HkeMrfnSGdbN IgEcTpwShXqoeY0Bhas7JliX6BBDSvyQsOZR2R2//wizDzlS9SY1+6PiwN8N7STRl6jd tCBdB+mNi/BJrgqG4s8W4u8kaJYsOJ9fuI+2C3Bo3Rq1Qb8dxvCN1ch1vQ8qMp8RFwFB nHCA== X-Gm-Message-State: AIVw110mD6VXL4ALZEtqwCuIm0N9SXHANTQEogTB47Y1hDIVbs4QtMFk kQtPBHiuM5RCrFiuWN4OfA== X-Received: by 10.98.149.198 with SMTP id c67mr3820135pfk.134.1500414292041; Tue, 18 Jul 2017 14:44:52 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id r207sm7186560pfr.106.2017.07.18.14.44.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:44:51 -0700 (PDT) From: Rob Herring To: Will Deacon , Mark Rutland Subject: [PATCH] perf: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:22 -0500 Message-Id: <20170718214339.7774-42-robh@kernel.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170718_224511_432195_45493F34 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Will Deacon Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org --- drivers/perf/arm_pmu_platform.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.11.0 diff --git a/drivers/perf/arm_pmu_platform.c b/drivers/perf/arm_pmu_platform.c index 69255f53057a..4eafa7a42e52 100644 --- a/drivers/perf/arm_pmu_platform.c +++ b/drivers/perf/arm_pmu_platform.c @@ -131,8 +131,8 @@ static int pmu_parse_irqs(struct arm_pmu *pmu) } if (!pmu_has_irq_affinity(pdev->dev.of_node)) { - pr_warn("no interrupt-affinity property for %s, guessing.\n", - of_node_full_name(pdev->dev.of_node)); + pr_warn("no interrupt-affinity property for %pOF, guessing.\n", + pdev->dev.of_node); } /* @@ -211,7 +211,7 @@ int arm_pmu_device_probe(struct platform_device *pdev, } if (ret) { - pr_info("%s: failed to probe PMU!\n", of_node_full_name(node)); + pr_info("%pOF: failed to probe PMU!\n", node); goto out_free; } @@ -228,8 +228,7 @@ int arm_pmu_device_probe(struct platform_device *pdev, out_free_irqs: armpmu_free_irqs(pmu); out_free: - pr_info("%s: failed to register PMU devices!\n", - of_node_full_name(node)); + pr_info("%pOF: failed to register PMU devices!\n", node); armpmu_free(pmu); return ret; }