Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6828208imm; Tue, 28 Aug 2018 01:32:35 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda/zSmtOY1qBBDVnBg2oYDbSCIgRjn+enFg1/XoLVbIGD8gsm5jZMdb4YD2b/4d0M+ql2pg X-Received: by 2002:a63:9841:: with SMTP id l1-v6mr525107pgo.228.1535445155029; Tue, 28 Aug 2018 01:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535445154; cv=none; d=google.com; s=arc-20160816; b=d+HqqXNgDKMMJiD2ullya2n3kScPXxJfyrqH/nE8qMYyX+Tj+6EY1/FRGdC7MgPCG1 x9GxRVcvuq3vkh425zTTsXLYmEU1eOq32uTDLWp93b2xchhfbxMSoWlEEGHtgaSfRdRc R7bQu2fZLWb8NqueVwuyjTju/zz6+EgIjBBafx+uVqFor2PefISqBsG2YRYL7SKn1VI5 zipZUtvVpz03frCPLcq7WtSncA46QwUzYaOGsu2rp3qPzj8lllS4O9bgqGcww9EouNrj 4FaXGEYwx2BAsRs/u6V3ZQ7Jp0x57/muNWS0moIiNaDTgeO+KQIXH0yPj3aXYVLDeWmk Fctg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=8qil/11yRg3H5KBDMxLJdOnHDEvitK0JCbpHS2bTxAc=; b=OA2KgSYtmL1/iFYzfJcACVBc6kkDOTNvHgRbaasqqQrxOjm5edQ/cVJV6qv4A5BY4o Uq/OkRk4GJYBdnRYwF7ctsIMkFHgrdqcdMw6eTpkIEAiAHtOhgMT9zId22aJ3imEhSjx kSs49TPj6QQc08BXX76pOB2PoRLTnSeDKU0Kb8MQbWPrFyscw28vnSiLi0Kf+nGM2bh/ 8ZZtLNdxYpTdb+GicItdLaN3m7TYPI6uTk6qGkMf6a5LJjdDeCRO/36EglWwU12jwEaV qEtpAm0pethS4jkWOWyPcaoILPcH6pb29bYq2oCG3IRlaiD2mWuBWfB4K4QsphS5vPhN 1zYw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23-v6si427287pgo.351.2018.08.28.01.32.19; Tue, 28 Aug 2018 01:32:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbeH1MVp convert rfc822-to-8bit (ORCPT + 99 others); Tue, 28 Aug 2018 08:21:45 -0400 Received: from mga04.intel.com ([192.55.52.120]:35680 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726954AbeH1MVp (ORCPT ); Tue, 28 Aug 2018 08:21:45 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2018 01:31:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,298,1531810800"; d="scan'208";a="85088975" Received: from lftan-mobl.gar.corp.intel.com (HELO ubuntu) ([10.226.248.82]) by fmsmga001.fm.intel.com with SMTP; 28 Aug 2018 01:31:03 -0700 Received: by ubuntu (sSMTP sendmail emulation); Tue, 28 Aug 2018 23:47:05 +0800 Message-ID: <1535471225.5357.0.camel@intel.com> Subject: Re: [PATCH] nios2: Convert to using %pOFn instead of device_node.name From: Ley Foon Tan To: Rob Herring , linux-kernel@vger.kernel.org Cc: Ley Foon Tan , nios2-dev@lists.rocketboards.org Date: Tue, 28 Aug 2018 23:47:05 +0800 In-Reply-To: <20180828015252.28511-5-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-5-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-08-27 at 20:52 -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct > device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Ley Foon Tan > Cc: nios2-dev@lists.rocketboards.org > Signed-off-by: Rob Herring Acked-by: Ley Foon Tan > --- >  arch/nios2/kernel/time.c | 4 ++-- >  1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c > index ab88b6dd4679..54467d0085a1 100644 > --- a/arch/nios2/kernel/time.c > +++ b/arch/nios2/kernel/time.c > @@ -214,12 +214,12 @@ static int __init > nios2_timer_get_base_and_freq(struct device_node *np, >  { >         *base = of_iomap(np, 0); >         if (!*base) { > -               pr_crit("Unable to map reg for %s\n", np->name); > +               pr_crit("Unable to map reg for %pOFn\n", np); >                 return -ENXIO; >         } > >         if (of_property_read_u32(np, "clock-frequency", freq)) { > -               pr_crit("Unable to get %s clock frequency\n", np- > >name); > +               pr_crit("Unable to get %pOFn clock frequency\n", np); >                 return -EINVAL; >         } > > -- > 2.17.1 > > > ________________________________ > > Confidentiality Notice. > This message may contain information that is confidential or > otherwise protected from disclosure. If you are not the intended > recipient, you are hereby notified that any use, disclosure, > dissemination, distribution, or copying of this message, or any > attachments, is strictly prohibited. If you have received this > message in error, please advise the sender by reply e-mail, and > delete the message and any attachments. Thank you.