Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6555703imm; Mon, 27 Aug 2018 18:59:24 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb6t6m75k853Df7cLl2tav3wgtrVTHaUby+s1/mkOedf60ynH6iIAuf80U0P+1r5CbIU4rG X-Received: by 2002:a62:3909:: with SMTP id g9-v6mr16616356pfa.176.1535421564908; Mon, 27 Aug 2018 18:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421564; cv=none; d=google.com; s=arc-20160816; b=In98DQnK38+sp8N/cC7ZUpUBtMETQUK7e5SKMf71WFMYOwyhOtTAUtMtgL9RK6o9RY Teb8m6hYvLUPR8Y4Kcu0zjBu1E7nKqbrA00zYuprothOG7hyQvD657HtCta8MMMletqg pdOLfyAIFpEWQmQMr7q/Kw91D72nAFl91owNnCPOMXPngCaHi3qo3wUVb+m1NI8BIqhc 4hBVf/JNJ9R/lPn0xlt8d5QB99i2UmKxK6zOekijJ5JoJyP+ogHZm1JhMvqGdamb+CxD HCSmIHxvx8rtFrOoPafU8qkJ3NZECq3w97+IfKodUIl2RHaXJiLhe6rF6d1ci9RMqaUf Al1w== 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 h11-v6si964434pfk.81.2018.08.27.18.59.09; Mon, 27 Aug 2018 18:59:24 -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 S1727308AbeH1Fq2 (ORCPT + 99 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(-) 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); -- 2.17.1