Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6799427imm; Tue, 28 Aug 2018 00:56:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbYiIOuqlriixqVYclz/5UadguBmcP0YVZGtWnLEVu5EljX1rYUm1XBzHXHmJy5ypVSaJAC X-Received: by 2002:a17:902:b03:: with SMTP id 3-v6mr392485plq.277.1535443000246; Tue, 28 Aug 2018 00:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535443000; cv=none; d=google.com; s=arc-20160816; b=nyFlwlAmiT+cIqfSypav1cmhExJ/HIT/A/95pG5Jx1a5rvchYZtbZJL8irK/rHIMZD Q/9MeYgOsULnZZlJHtL7Ok2ceRpqlBRGyo5fn2U67Z8bv/9L+MhM4QDBGslg5oxgdvc5 55xYfuBeVPxbYPX/bgskFmCvaZeoRo9ivtU++dHyI6Q5J74uJU0Qu2Y0thotRppyv4HR Ku+9GA3f8213uOlPATNQeZZnKfDjC65++1aDQp8rRD7Wqu2cPXpKUC3sKIqjqZwIrW9U 09DkKBdCZHDHltHAmsXjhZuwlVGvb3MqrbSDqyZ8EQlwc280OeCyVgpDYGhN8UZI+4lh USTw== 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=R0Thc8fN8jp/Nz8iU+oF4R3DCkKHl45UoMRkB4ZTU7U=; b=VzPwRO/u6q0urELdqCuTlz7tEr+TxRGy2KrNjAX3gMlg/6YEcRWhoaRNFX5kjnB63I GdGqH8VaQXXGQwadWH1VgcK340YEHF4IdjwcK1vuVY6WoTc3fMWyoGQWKqU9OUqIigGH HkexspSyrrgQUItDPEHdU1yeRD7zY1PRNa5QEmObjP8j39bzwKut1cc6J4ux4nEHCLKI exmde7w1NPMifmtwtxNz78r2zOM4h6tXepJo62j3RUnECbKYxAT8/Ppp0ew5mybE4Hyc YHTgZWSUaoAkYFwM9obO6fRKPKC9GeX5GWQ/VIUBE8raBwE5ciHkHaCEE5f1yF/5lIvC QtDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gHfDJdph; 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 a24-v6si314774pgi.515.2018.08.28.00.56.24; Tue, 28 Aug 2018 00:56:40 -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=gHfDJdph; 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 S1727265AbeH1Lph (ORCPT + 99 others); Tue, 28 Aug 2018 07:45:37 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:34375 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727086AbeH1Lph (ORCPT ); Tue, 28 Aug 2018 07:45:37 -0400 Received: by mail-qt0-f169.google.com with SMTP id m13-v6so687838qth.1 for ; Tue, 28 Aug 2018 00:54:50 -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=R0Thc8fN8jp/Nz8iU+oF4R3DCkKHl45UoMRkB4ZTU7U=; b=gHfDJdphCOeP/SSz6wA+oE7otPut2/6w6MOZG411CRweTv/B/C7xvFJ2Rd957hIEIl 8QnFXnP4RIdnSHk2dEW8q/xDet6TP02YCxlFFzCFmJyOh3hUcTGgNP5jVTogT4jwVRqL fgBvwJF1y/XHnbI5OKILjHV9fl7wdamPznVbzdFnvLgnv++WJwb+NRohlo19o5BoJSJf pL+EEBv4s4Ql1hQE+4Ij5NdB3GtcwdxRz/UnvOyUEOQYgJwtGA1+vH6w4CACHVH2fdSl K8N3NJqMYp29TwPF1hK3wwvpEuahQgN6Ri/6FeNGBgmmv9d7/IyrHLID9RbqOr2I4mGd Dl/Q== 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=R0Thc8fN8jp/Nz8iU+oF4R3DCkKHl45UoMRkB4ZTU7U=; b=OIKp/mJKfQevU4YfNyluEXvhHeDFeEiBRUnsuWGfktkUmUQyzP+/WdW56129+b9P5O 0gFoMASf4CCbUN+ddZNG1eBBsVDngUeYDqmymZtscxP0maXZgdqm6vQUuAUTz7DQcznt zeJqbvttRAD1eDnqjQPKTn/o/887DUNHZLkyUyw4gPyZUw1VeFQc710QeIj+YE3/8hFT Kv/hD5FxsmVwrcIXuSuCEpRfa7wViKyTVIwzi1GzW2IPDb1dESe1YwYbDNuzJOwpGlg4 /inWpALqZLaXng0KjWqsf1AydbLQE2T2UUkiqWfr9VvVn1uxUDx+hdzNUWJH7N5qlMXA XTIw== X-Gm-Message-State: APzg51ALMz5WPqeMh56Nw6tGVl3BEmBv1U5fZMa8ke47hMHGBYrb47Xu mLUe+VqyJuGUYSdMU/noAXMfrYK6lLpKBQyxFsk= X-Received: by 2002:a0c:e985:: with SMTP id z5-v6mr386989qvn.136.1535442890220; Tue, 28 Aug 2018 00:54:50 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-50-robh@kernel.org> In-Reply-To: <20180828015252.28511-50-robh@kernel.org> From: Andy Shevchenko Date: Tue, 28 Aug 2018 10:54:39 +0300 Message-ID: Subject: Re: [PATCH] sound: Convert to using %pOFn instead of device_node.name To: Rob Herring Cc: Linux Kernel Mailing List , Johannes Berg , Jaroslav Kysela , Takashi Iwai , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , ALSA Development Mailing List 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:56 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. > + if (snprintf(node_name, sizeof(node_name), "%pOFn", np) != 5) > return 0; > + if (strncmp(np, "i2s-", 4)) > return 0; Shouldn't be node_name here? -- With Best Regards, Andy Shevchenko