Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933022AbdGSP3R (ORCPT ); Wed, 19 Jul 2017 11:29:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:58806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932987AbdGSP3N (ORCPT ); Wed, 19 Jul 2017 11:29:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93E1823695 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org MIME-Version: 1.0 In-Reply-To: References: <20170718214339.7774-13-robh@kernel.org> From: Rob Herring Date: Wed, 19 Jul 2017 10:28:51 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] clocksource: Convert to using %pOF instead of full_name To: Marc Gonzalez Cc: Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , Linux ARM , LKML , DT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 24 On Wed, Jul 19, 2017 at 3:55 AM, Marc Gonzalez wrote: > On 18/07/2017 23:42, Rob Herring wrote: > >> 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. > > Nice. For my own reference: > http://elixir.free-electrons.com/linux/v4.13-rc1/source/Documentation/printk-formats.txt#L349 > > About removing the full path. Does this mean that ultimately > %pOF will print just the name? And the 'f' spec will disappear? No, the vsprintf code is already designed to print the full path whether full_name is the full path or just the basename. %pOF is just the default. "f" is needed so you can combine it with the other specifiers. > Is this done to save memory? Yes. That's the next step. Rob