From mboxrd@z Thu Jan 1 00:00:00 1970 From: tyreld@linux.vnet.ibm.com (Tyrel Datwyler) Date: Tue, 28 Aug 2018 15:14:00 -0700 Subject: [PATCH] soc: Convert to using %pOFn instead of device_node.name In-Reply-To: References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-43-robh@kernel.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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: 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