Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp37592imm; Tue, 28 Aug 2018 15:31:10 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb2VOjokF/UxMY7sgmvdvrgnDoD3BZgOpWK31BXxYDsQqLNKPXG02dKxYxIVposre5iV0XY X-Received: by 2002:a17:902:bd44:: with SMTP id b4-v6mr3368289plx.144.1535495470123; Tue, 28 Aug 2018 15:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535495470; cv=none; d=google.com; s=arc-20160816; b=a6c4512pkmruMKvITx4FOa7NmJtXy8aop2LlHDV6y6U4xYhU7eVRZYOXLsSg95qgH3 KtCGZ6O8tIM9U5ktogH8brJT4DI/RA22bPJDltB6VrQe2+2x0oTHlhGAvNpzr4qpFC7+ tV1TUTJiF1Jii6zUZLM0oTIACgqbAy6mTIvZaYm3+E8a8GVsCFZpIQK3uzHv38TRsVk6 UZpXBMyGOgs/msFN3+MFYCiGVAHnaS+3g4BMo5W5YPansqiqsSJ5gV1LdkWHDQ4v2tMn WRQu0BxWKxQ0o+Q5CPMAYXL2yU/pun2hDfa3OhN+X7evmkm7BE5VIM3EbKEt5JZsA3xr ePVg== 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 :in-reply-to:references:mime-version:arc-authentication-results; bh=+SHayacjPEeTDEIBZW3fV5Pjo8NNq1X3v8fS5KU2EBQ=; b=ZohY0/vPj8XUkBkAyuph1fmGeenbbCEKEdTyTTuYTbPdqIYKa1rj5zcjzfdKbaMhF3 FBLdCSZ2r3/eWR0ZahRVE71eOZoQLhsTmGifRDQUkTSBGhBE9fpJFvgy+cx7/haF92gC VN9pCyR8uVPi3EcUjuokhzxsHpZ8czlLsT9cxItqQ9JdLXI+SlEMziUdLhANBElWy9t3 NqZkIzCmQ4eRmcXJUgoMufYHq/NaomT/KAEL3Z9ASMtpuPKQ0YudI48m/CIsodrecQTa eBu3DuI35/WgmBpQMlX2CosB7zj+0XyIT2dC1F6/lC6lt3rO0/J3HPvhh0frQ9T9HQaD 5M7A== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7-v6si1929125pfj.284.2018.08.28.15.30.54; Tue, 28 Aug 2018 15:31:10 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727736AbeH2CXO (ORCPT + 99 others); Tue, 28 Aug 2018 22:23:14 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:55959 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbeH2CXO (ORCPT ); Tue, 28 Aug 2018 22:23:14 -0400 Received: by mail-it0-f67.google.com with SMTP id d10-v6so4950794itj.5; Tue, 28 Aug 2018 15:29:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+SHayacjPEeTDEIBZW3fV5Pjo8NNq1X3v8fS5KU2EBQ=; b=AGhJCScQQEPqJ/xJvsLC1k0OoeTYuzUz1+skFW7gRK99U77FRO+HN8H7JWVIJ4lXno ZpT3tXkCO/ARdi6qUL6FWM4wJDHDuB4Snu5ZosDM9iA6xfQkyiSfSUUZqElkKWezC/kB JeTwzUspZRx6JruUDl+cAaVdWqkl2dGu4xeA/H3E/8Ow4hInSNyTq15muNuy5w0jcFM2 a7iZYHrQzTf9hNa5OnFxSXhCVdeeREbCrEbLZ8Bb5ij+MF0qKZaiFoA18kcVmtVU3g3y 3KfSOYU+XBM6gT5tpMTDhE9mxM3qeOgVTLdDrwRQUFTz9adqdC2HW3eZYuMni3h5/FW7 rnoA== X-Gm-Message-State: APzg51AkIM+shgB9IfQJWmtgU/sUdBdC+f+z3X6tP1tPcsy0xEjor5tL Aamlan/PAiLsubGFkcX0WvwmLIEJr0k= X-Received: by 2002:a24:7dd5:: with SMTP id b204-v6mr3346470itc.96.1535495368842; Tue, 28 Aug 2018 15:29:28 -0700 (PDT) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com. [209.85.223.172]) by smtp.gmail.com with ESMTPSA id 14-v6sm1260108itu.20.2018.08.28.15.29.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 15:29:28 -0700 (PDT) Received: by mail-io0-f172.google.com with SMTP id l14-v6so2832068iob.7; Tue, 28 Aug 2018 15:29:27 -0700 (PDT) X-Received: by 2002:a5e:8408:: with SMTP id h8-v6mr3115440ioj.171.1535495367632; Tue, 28 Aug 2018 15:29:27 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-43-robh@kernel.org> In-Reply-To: From: Li Yang Date: Tue, 28 Aug 2018 17:29:15 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] soc: Convert to using %pOFn instead of device_node.name To: tyreld@linux.vnet.ibm.com Cc: Rob Herring , Heiko Stuebner , linuxppc-dev , lkml , Jon Hunter , David Brown , Thierry Reding , Santosh Shilimkar , Andy Gross , linux-soc@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Zhao Qiang 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, Aug 28, 2018 at 5:16 PM Tyrel Datwyler wrote: > > On 08/28/2018 11:48 AM, Li Yang wrote: > > On Mon, Aug 27, 2018 at 8:57 PM Rob Herring wrote: > >> > >> In preparation to remove the node name pointer from struct device_node, > >> convert printf users to use the %pOFn format specifier. > > > > Please forgive my ignorance, but what is this format specifier do > > exactly? I cannot find anything listed in the printf specification > > matching this. Is this something newly introduced? > > > > Leo > > > > From Documentation/core-api/printk-formats.rst: I was trying to find it in the standard c format specifier. :( Thanks a lot for the pointer. > > kobjects > -------- > > :: > > %pOF[fnpPcCF] > > > For printing kobject based structs (device nodes). Default behaviour is > equivalent to %pOFf. > > - f - device node full_name > - n - device node name > - p - device node phandle > - P - device node path spec (name + @unit) > - F - device node flags > - c - major compatible string > - C - full compatible string > > > -Tyrel >