Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6801718imm; Tue, 28 Aug 2018 00:59:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaM5aw06jrS7h2CNX4vQX4E8300TFxAcNjMKtGT+KBGJnnQQgTfv4NFjl1LLZwseiTkwuHW X-Received: by 2002:a62:4898:: with SMTP id q24-v6mr391685pfi.22.1535443199335; Tue, 28 Aug 2018 00:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535443199; cv=none; d=google.com; s=arc-20160816; b=OBMjOM0BGgvgsPWTjM1S6ylX3RLJQtsxUqQ9gWPz6ksdsc+ypHmvjbu5hBjccyHWct TSxZ1SITNn3oH1/d7ncGN8E3jvFeHY0ww0OFjEDxutrh19854q3DSahVr8ppIEdNFCAV yzR0RctlVwxwaQjAIUmv8kf/XrjcTk/Gi0ogducq8ud8Fg/uy4wCU5E0yFFWC9cmAVx2 mrJI/rHMYO0Z0JxZhXxkIYuXskMxmTAX48VdN0My71E6GTtA/uAbPHazO1gsPyrLoxsU rx1uPBBflrpxaknFlQ+NGRox3jf5mnQZH9pWByUCeY57+WJKLma3aWPyug0kI/p/ETbg U5Ag== 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=VFzwNzsLDil4DGpjWRi84YshKkihGNFcKxuwlM//rRw=; b=Gw9C3Hn/86ge8L1l450dpYXjIMhz247yoTuIRUHazTkdnIj87CC6hnVddFPY/bcQUi ZoEIOVQhl0XmNp9V1+7KlUw0qfuhevArKdknzrL1O5GJr5lV5hRIVR9poNVLU4JKL7ip GYKr/uIaAVShrwg+yw9MdZQwplVYt78tQG80PAc/LmGBwLR4EKGodNnK09EwF/KCO+XB lmV1cxBnlKY8CUaXuoZXorR7XwDbMWtpz/EFDey3r9/BtBEzSijpBwK3QwtJZRrGIF0c kh3zxeACM3aKbRQHWFDrZ9nVbqw0G6Jm67BKsOyS7uFJmI1ZbHS85Z3OmBWvHexKwyKi jQbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nTzv+BWY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v40-v6si424797plg.124.2018.08.28.00.59.43; Tue, 28 Aug 2018 00:59:59 -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=@gmail.com header.s=20161025 header.b=nTzv+BWY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbeH1LsU (ORCPT + 99 others); Tue, 28 Aug 2018 07:48:20 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:36830 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726567AbeH1LsU (ORCPT ); Tue, 28 Aug 2018 07:48:20 -0400 Received: by mail-qk0-f195.google.com with SMTP id 93-v6so406683qks.3 for ; Tue, 28 Aug 2018 00:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VFzwNzsLDil4DGpjWRi84YshKkihGNFcKxuwlM//rRw=; b=nTzv+BWYjAjcR1eUYH+cF1IzoaFpENUsAQq+oHHhBUbD6C+0m6pKSVIIZ4OL9OhWMy ioyUwE1dK1JzqkwUYuSenKYizk79/cklJLcUz5Oa6sT5WLyDbZs4ZNW9hmANycToXhPD HlB7qsQsd0uF9cqipvQMlXo69KsSCLmVPvgd8fuyqaT6EzSpgrx6CoQ2mXroJO8KnGpU YoSLxLNvBKPIPS9DUn3ZrlId6ui7wAjOrHrTFDu4bQnAmXmsV9r7HEtjkob6/P2j0kO5 4ff9MlkgiXPOF7La4qcM94Kq9t/Hr8X7uzWSaUQMFPPS67Y0SfynFOCSP3P0sZih9k1U h2Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VFzwNzsLDil4DGpjWRi84YshKkihGNFcKxuwlM//rRw=; b=bSQY7qzmVS0IUilR3Ltmgn5dAUeclFlbvQBtmG9df9RcumT2WBQvzNlhPuazKAF5BL hmaYpj5rt7KECjkeT3wql5qRUu8AiuQm+dbiJjdJvujlGLr3yItCv+Joa3INmxli9j/6 5unRuLfI7IC5kYPDzh1sLiWjkwc12/0xS/D35Kv7YDxLgZBu2+KMsp03RhwbHlwwvAVg zdSfpq96dl8BuRY7BoY3RT/ibcuJbXYasJOkFneOYiP+H+OPIyxPFcCnxZXCrwfADSvm gqvdLVVnEr9K7a0m3vHYVAnryfoF5Tf6Ujdnt3IQ+tO9iygkz6QUlSNvT2VLRaC8Inkz VO6g== X-Gm-Message-State: APzg51CIXgweTP9u7OS1yzLTyyps64XXYkFO0uD62r/QAqmpwRMDhdkT 2zATA732cnQ/2H6H6VD8YHMrXykaHlruZ8i0K6A= X-Received: by 2002:a37:6e01:: with SMTP id j1-v6mr401311qkc.70.1535443074826; Tue, 28 Aug 2018 00:57:54 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-51-robh@kernel.org> In-Reply-To: <20180828015252.28511-51-robh@kernel.org> From: Andy Shevchenko Date: Tue, 28 Aug 2018 10:57:43 +0300 Message-ID: Subject: Re: [PATCH] ASoC: Convert to using %pOFn instead of device_node.name To: Rob Herring Cc: Linux Kernel Mailing List , timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, Fabio Estevam , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Carlo Caione , Kevin Hilman , olivier.moysan@st.com, arnaud.pouliquen@st.com, Maxime Coquelin , Alexandre TORGUE , ALSA Development Mailing List , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , linux-arm Mailing List , linux-amlogic@lists.infradead.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 Tue, Aug 28, 2018 at 4:57 AM Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > + snprintf((char *)dai->platform_name, DAI_NAME_SIZE, "%llx.%pOFn", > + (unsigned long long) res.start, dma_channel_np); I understand that is not the part of the change, but wouldn't be good to replace that ugly casting with proper specifier as well? I mean %pa ... &res.start > + dev_err(&pdev->dev, "%pOFn sync own reference\n", > + np); One line? -- With Best Regards, Andy Shevchenko