From patchwork Tue Aug 28 01:52:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145281 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp611143ljw; Mon, 27 Aug 2018 18:57:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYHT7YnzRePr3c3GimvBbXYD9W7ZQGqrhOtKbyiqv/3lPkznH+RJugiITkMeDC0GZHCCu9x X-Received: by 2002:a65:668f:: with SMTP id b15-v6mr14621715pgw.426.1535421434460; Mon, 27 Aug 2018 18:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421434; cv=none; d=google.com; s=arc-20160816; b=BgoFecwkVCflmO1amFgfggaPN4kh3BdAgl4ADuxtyLn+UahC0q6NWhRW2rsNhNXeN5 ViCLb1b5zVBDrO7CwiT3B89FMB4dCkL30S9Svfffwf0jbVb9BdbxLxIr164skl0xCStc /aQbnKTiYHzy01ffoD91/qY5grHXitXXZexuZgiN280m1ZGv0KekBTbNlWZ/jp5HndzZ jRfmSyc1d04v4RNRRhVr0MA+BRxSuEN4AYUEnzLSRUtz/lFzdmTup3E/KrgN+GQ4BpBV eTwwJiCNH834NpRCV5iFw3wFbs9X5L1sAg0TEsZfCKEwEHhqRXv11LL6/SlZxmDcKGZz qlFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=2IvS3Vo8cXkdzxaRQYdCXbqDcsHSO8p6rmBHDtM8PeQ=; b=ARJvW/+8ewZYM//Hv7A77tmMqkFEJIN69GEWaJGtVSZdr/brtRoo4OoOe9mYLCDkil 3TEqvzfTiXVUtf5Ks0dzrZEqnFO3K/dWwbfhH3pmSXLMrQr+3rf/8Vdu1R6hxnJhMDHI aaQNYI5JxnCJdmBuz0uI1AS2+yEL7SvHya7EUOZzrjX6PfBIsQbGDXdGBg9xJg08AxmS KfLkqNH0qa4ADxIlkD8IuZQSDK0PvwUL1by7EMmCJNAKYmw18ZtKCsvPvs1oi9vgZyyt /7W84mpYwDKiWCqF5Lmy4KFIaEKJ/sp6gyeTuQjrE9e2aOvwV5ZHsR+zn9mQ8htxWU7v JkNw== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5-v6si713672pgk.200.2018.08.27.18.57.14; Mon, 27 Aug 2018 18:57:14 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727342AbeH1Fq2 (ORCPT + 32 others); Tue, 28 Aug 2018 01:46:28 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:39786 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbeH1FoO (ORCPT ); Tue, 28 Aug 2018 01:44:14 -0400 Received: by mail-oi0-f66.google.com with SMTP id c190-v6so14855oig.6 for ; Mon, 27 Aug 2018 18:54:58 -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:in-reply-to :references; bh=2IvS3Vo8cXkdzxaRQYdCXbqDcsHSO8p6rmBHDtM8PeQ=; b=TM5AKkrW5SDo/ROKQPODBxAy/AfQoJyrE7hrtDasNCTMESaT+gYyTmut7lDxPkAFQa anhiuCupAI2O4V4XI6bo0HAENdKqUGsVhi7WLSSl3zt1tttPjnVGno8DKT5UByZ5ygfZ aFoA8YTGe8PW0OZITTxUA63ANfXO0fDdaED4b05L21y71NX3H7eZyDb01+Df+2VJXlWL t8w/KWbfW1hrf36rA4PMvXrdMAfVRnlEOq8pDQEf49HmpchNq/nn+z93sEHNY8SdlFss p+zAG2rIKqMpHzG/dPfXX82gLpie0o64QwsV1EgBJ1IS+swyMxXeexQ4WtxECK9snoDH 4TCg== X-Gm-Message-State: APzg51CUHIryiFGqBVjq+qIf6ZgzKBcXr7/K7PADLF1ANW+09xFCv/3v /r3bQsH5BnNhMAgiH2iYWFM3OZ8= X-Received: by 2002:aca:5cd4:: with SMTP id q203-v6mr969347oib.217.1535421298024; Mon, 27 Aug 2018 18:54:58 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id n71-v6sm1652696oig.48.2018.08.27.18.54.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:54:57 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] misc: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:32 -0500 Message-Id: <20180828015252.28511-31-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Frederic Barrat Cc: Andrew Donnellan Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- drivers/misc/cxl/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Acked-by: Andrew Donnellan diff --git a/drivers/misc/cxl/flash.c b/drivers/misc/cxl/flash.c index 43917898fb9a..4d6836f19489 100644 --- a/drivers/misc/cxl/flash.c +++ b/drivers/misc/cxl/flash.c @@ -92,8 +92,8 @@ static int update_property(struct device_node *dn, const char *name, val = (u32 *)new_prop->value; rc = cxl_update_properties(dn, new_prop); - pr_devel("%s: update property (%s, length: %i, value: %#x)\n", - dn->name, name, vd, be32_to_cpu(*val)); + pr_devel("%pOFn: update property (%s, length: %i, value: %#x)\n", + dn, name, vd, be32_to_cpu(*val)); if (rc) { kfree(new_prop->name);