Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7154077imm; Tue, 28 Aug 2018 07:15:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaR47QyqgLLirVeLdJYY8YRAVeycRGe3e5mQD7gNr8vdZTh0VCA44dx9XImxSDCuBioPN90 X-Received: by 2002:a63:7557:: with SMTP id f23-v6mr1782041pgn.135.1535465745011; Tue, 28 Aug 2018 07:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535465744; cv=none; d=google.com; s=arc-20160816; b=UiumCwukbQwTuWKkC8Lc9F4ZGhvmN3xQaLkwfFEVj5O5/0EFaviz3x0OPEEE0rQOI4 cQ0fcZB0GSCguzYdaLD8zHGuQ7+G8Rn+DxjYn3CsLvGiYG/047fTzP46eUT+hvbdQxwC EWQfnHW35X6ZKZsyOdfuJjRG1SZgbWNgewvMmjLEgP+uZJ1tluTUMu1Dz9Wq6sjaDkvp ocVVgHocch97dz6KEOOZ2PQleSlMGhc3k4A30I/XhL3MainNLVOBUfTIeVkNqr6QVepw 1D4OYu2pOpYc/5Fjou5GZL1eLpCFL6uYRoChDQowVBQto8zLs/lP4GjVWozufWIC+7bJ JceA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=KZ4DguuBOuTvv8fZ2StvWDLcfdUHjkmFuEYUvSmJ5j8=; b=cgudF4xTH0cubiH7l9g6vxasFGyyfxi6+v8EQO+2gM2X9aItRLUiSeZ8Op2x9MELZ4 pEamkY5RtRb4qFkNgYHncwnLDPYVtA3lXnICkcFiEjwS7BkoI0t4citKGLsxO6TAMxy3 qYnv9kPHJ7SpZ6fPHDBiX37AOMn0Mc+fmK4dF70RTEFbkCu29hppm3YA/117orismNlW OIxXGcaDOJO7SXD8N1LKStBS9BCYGH0LGmMl7SlBmBXBLJRX4LB5BpBL1gZqYLMji8Rx xGAlQdKUraf+LsIou7sbG336TKz1BiFha/oauH/udGtX2CKFAq73yqw9vnFDd6WyNBwd CLKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pu1Nt7YX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h65-v6si1075375pfg.197.2018.08.28.07.15.28; Tue, 28 Aug 2018 07:15:44 -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=@kernel.org header.s=default header.b=pu1Nt7YX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728214AbeH1SFU (ORCPT + 99 others); Tue, 28 Aug 2018 14:05:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:46542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH1SFT (ORCPT ); Tue, 28 Aug 2018 14:05:19 -0400 Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E14D720894; Tue, 28 Aug 2018 14:13:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535465608; bh=JK8G/NIMr71xk49X+FD6nwoHurpR4/oiyqQlKm2kiYA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pu1Nt7YX3O2VhXW5AdiqR2EeEtcvrKe71bvnQTO1FYu6EW03trGTqxiCYNh5zrVmc 4QlQDoZi8SYQc0l7lBGOfbw9toMSfHLdGH6wsqE+WcnbIjutwKV71k5rfVrnAjKS/e jUrbel6bxvAnJKATshT01zFdyYJb6juzUUD80pYM= Received: by mail-qk0-f182.google.com with SMTP id z125-v6so1047720qkb.12; Tue, 28 Aug 2018 07:13:27 -0700 (PDT) X-Gm-Message-State: APzg51B7P35po7El8cPLnKR50Qta04XhR7uyTU0TpUcyhXwab+6WCESp GLE4CVAib1NKJwPyyShg9Tp9mi0LUpphjgq1jg== X-Received: by 2002:a37:bec4:: with SMTP id o187-v6mr1702155qkf.326.1535465607128; Tue, 28 Aug 2018 07:13:27 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-7-robh@kernel.org> In-Reply-To: <20180828015252.28511-7-robh@kernel.org> From: Rob Herring Date: Tue, 28 Aug 2018 09:13:15 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] sparc: Convert to using %pOFn instead of device_node.name To: "linux-kernel@vger.kernel.org" Cc: David Miller , sparclinux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 8:52 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. > > Cc: "David S. Miller" > Cc: sparclinux@vger.kernel.org > Signed-off-by: Rob Herring > --- > @@ -201,7 +201,7 @@ char * __init build_path_component(struct device_node *dp) > tmp_buf[0] = '\0'; > __build_path_component(dp, tmp_buf); > if (tmp_buf[0] == '\0') > - strcpy(tmp_buf, dp->name); > + snprint(tmp_buf, sizeof(tmp_buf), "%pOFn", dp); Ugg, v2 coming soon. Rob