Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6600703imm; Mon, 27 Aug 2018 20:09:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYpi7zLHUDjUUi9sNG1Px093BX1oy09OMwc7t0DTfX9gAOggu0NL+0ZY+rvmnMA/5R4ECQ4 X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr15510446plo.4.1535425757275; Mon, 27 Aug 2018 20:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535425757; cv=none; d=google.com; s=arc-20160816; b=fmXVM/Bsw97c/UrsSZUMjjitq00Lo6Yjh1mA8/UDTfydleTg3slw6TXWmLOHi7YjYx 3m8lDB6CjC95+DD/VGivqJpdGHXeTRPjnwm5Y7bsoKUU4EaAxwTvX5mhOglgcwDop1aS xOIjeStCRqcExfFKcv47v1Dy1obx/VXoEUf15d0HFA22/fDqbsINPLQytwJegjz9QSkY stcB7QDV+zh53vUnqsUOPcA3xa+LnHFxGDIYwtHxb8vylfwRYgfwv/iZXwn6JeTmlKxn 4c/+qt8WokiGDEdXq2mkjQ9twjVhmF/3Hu+7bWWDYW3sfA/xMDtT4lkS83JgsSek1qAy X1FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=zf0DU59//PN8Uftc7ir8k0LJw9loa05rEXH1xtoY6Vk=; b=O6JtE2L+FxZDQZtkBaS3XpC5zWJO3lHDJEucWY9SATVq/tnQ9KpKKXuSfiK386kVyN KJQJeSCm5p553wXt7DahIdcTRI+xViUoHDcNKuzQQW63U92kENisPqQ1GSx2wgtufvEi Zz/1EQrRm9VZnU7SwLy8pQMXgLLnSUmUeC4QqFgUqe0WFnEhWralryeGm8CBUlAvgXq5 Tm83lUn2YCBScCebFjphNtt81CGLP8dG3+GdqRxzqD7wJbsrVrSvVTEaDPxb906+Rxz8 X6KThBdihzrZIU4+OMUZ0miaNgvAyMQR8rOKAi7Pbl1gHfHEa8Ct6mNmqjHHJ02bMtWt C0/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XCHP2Qrn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23-v6si781199pgx.323.2018.08.27.20.09.01; Mon, 27 Aug 2018 20:09:17 -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; dkim=pass header.i=@linaro.org header.s=google header.b=XCHP2Qrn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbeH1G4k (ORCPT + 99 others); Tue, 28 Aug 2018 02:56:40 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34635 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbeH1G4k (ORCPT ); Tue, 28 Aug 2018 02:56:40 -0400 Received: by mail-pf1-f194.google.com with SMTP id k19-v6so95395pfi.1 for ; Mon, 27 Aug 2018 20:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zf0DU59//PN8Uftc7ir8k0LJw9loa05rEXH1xtoY6Vk=; b=XCHP2Qrnw2eKULxs3XmJR19BEwmhTcbKzeHttlNC9em5bAjT/555pQS0+OI/0cFuQ5 GQSSyF2dOLt2hqT3DKuXkCVBl02JjQDmQ8h1ZjqKzDQ3W3G0rtc20AgvnIzvvyi3rEhO 9bHlyPI+UJogwtXYXg18e0EyWQZtr5ScRiMEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zf0DU59//PN8Uftc7ir8k0LJw9loa05rEXH1xtoY6Vk=; b=bxz93NXG1VlEam/BaiqES6Ox02z32WA5tvFWtIvGPw0hl3L/OGJbRXomc0zJpMja1G Pfkx11pIUm5zx5BAeRCwifarXR8PTKO9KLnvzLua8VHJnXYv/bJ/XqmMipu/9YmtraFY VF4ATwbZckmHVUShjGDAeyOvHyHoPqcOJuTZ2/9SuSaQholtLTio6PqI1APr4uMDcb0/ nm522aFwxH3qeJFaRTrxcGiParI1lvfDDnhSGqQY8suFndf/fk3AkQUt9HgKNtDYywNT f9Nbd8//ZJ0RT4bJzeXGPi0CY5mC6UBXbIMl1OW39qND/eYjFQN5bMRC0f9Ue3xVdW8g qVtA== X-Gm-Message-State: APzg51CcY5G5BJvp0RnDnor4QVkYHDO948dvoifyI0Q6mlHqjs8IhnoM 3ngVxhzDUfTKr4nZ+l84dXCm+g== X-Received: by 2002:a63:1d3:: with SMTP id 202-v6mr14614706pgb.136.1535425630410; Mon, 27 Aug 2018 20:07:10 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id z22-v6sm774697pgc.67.2018.08.27.20.07.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 20:07:09 -0700 (PDT) Date: Mon, 27 Aug 2018 20:08:47 -0700 From: Bjorn Andersson To: Rob Herring Cc: linux-kernel@vger.kernel.org, Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org Subject: Re: [PATCH] rpmsg: Convert to using %pOFn instead of device_node.name Message-ID: <20180828030847.GH5090@builder> References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-42-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180828015252.28511-42-robh@kernel.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 27 Aug 18:52 PDT 2018, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Ohad Ben-Cohen > Cc: Bjorn Andersson > Cc: linux-remoteproc@vger.kernel.org > Signed-off-by: Rob Herring Applied Thanks, Bjorn > --- > drivers/rpmsg/qcom_glink_smem.c | 2 +- > drivers/rpmsg/qcom_smd.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c > index 2b5cf2790954..ab23da3d7131 100644 > --- a/drivers/rpmsg/qcom_glink_smem.c > +++ b/drivers/rpmsg/qcom_glink_smem.c > @@ -205,7 +205,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent, > dev->parent = parent; > dev->of_node = node; > dev->release = qcom_glink_smem_release; > - dev_set_name(dev, "%s:%s", node->parent->name, node->name); > + dev_set_name(dev, "%pOFn:%pOFn", node->parent, node); > ret = device_register(dev); > if (ret) { > pr_err("failed to register glink edge\n"); > diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c > index 8da83a4ebadc..0dae7c9f4a8f 100644 > --- a/drivers/rpmsg/qcom_smd.c > +++ b/drivers/rpmsg/qcom_smd.c > @@ -1454,7 +1454,7 @@ struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent, > edge->dev.release = qcom_smd_edge_release; > edge->dev.of_node = node; > edge->dev.groups = qcom_smd_edge_groups; > - dev_set_name(&edge->dev, "%s:%s", dev_name(parent), node->name); > + dev_set_name(&edge->dev, "%s:%pOFn", dev_name(parent), node); > ret = device_register(&edge->dev); > if (ret) { > pr_err("failed to register smd edge\n"); > -- > 2.17.1 >