From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934976AbdBQUew (ORCPT ); Fri, 17 Feb 2017 15:34:52 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36211 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934090AbdBQUev (ORCPT ); Fri, 17 Feb 2017 15:34:51 -0500 Date: Fri, 17 Feb 2017 12:28:44 -0800 From: Nicolin Chen To: Joe Perches Cc: Timur Tabi , Xiubo Li , Fabio Estevam , Krzysztof Kozlowski , Sangbeom Kim , Sylwester Nawrocki , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 35/35] sound/soc: Convert remaining uses of pr_warning to pr_warn Message-ID: <20170217202844.GA8215@Asurada-Nvidia> References: <3d93f7226ba34fede99f72ec038098a3d98a139a.1487314667.git.joe@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d93f7226ba34fede99f72ec038098a3d98a139a.1487314667.git.joe@perches.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2017 at 11:11:48PM -0800, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for sound/soc > > Prior to this patch, there were 5 uses of pr_warning and > 10 uses of pr_warn in sound/soc > > Signed-off-by: Joe Perches For imx-audmux.c, Acked-by: Nicolin Chen > --- > sound/soc/fsl/imx-audmux.c | 6 +++--- > sound/soc/samsung/s3c-i2s-v2.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c > index fc57da341d61..41e877d2b400 100644 > --- a/sound/soc/fsl/imx-audmux.c > +++ b/sound/soc/fsl/imx-audmux.c > @@ -152,7 +152,7 @@ static void audmux_debugfs_init(void) > > audmux_debugfs_root = debugfs_create_dir("audmux", NULL); > if (!audmux_debugfs_root) { > - pr_warning("Failed to create AUDMUX debugfs root\n"); > + pr_warn("Failed to create AUDMUX debugfs root\n"); > return; > } > > @@ -160,8 +160,8 @@ static void audmux_debugfs_init(void) > snprintf(buf, sizeof(buf), "ssi%lu", i); > if (!debugfs_create_file(buf, 0444, audmux_debugfs_root, > (void *)i, &audmux_debugfs_fops)) > - pr_warning("Failed to create AUDMUX port %lu debugfs file\n", > - i); > + pr_warn("Failed to create AUDMUX port %lu debugfs file\n", > + i); > } > } > > diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c > index 644f186fd35c..7423e4257a1b 100644 > --- a/sound/soc/samsung/s3c-i2s-v2.c > +++ b/sound/soc/samsung/s3c-i2s-v2.c > @@ -669,13 +669,13 @@ static int s3c2412_i2s_suspend(struct snd_soc_dai *dai) > iismod = readl(i2s->regs + S3C2412_IISMOD); > > if (iismod & S3C2412_IISCON_RXDMA_ACTIVE) > - pr_warning("%s: RXDMA active?\n", __func__); > + pr_warn("%s: RXDMA active?\n", __func__); > > if (iismod & S3C2412_IISCON_TXDMA_ACTIVE) > - pr_warning("%s: TXDMA active?\n", __func__); > + pr_warn("%s: TXDMA active?\n", __func__); > > if (iismod & S3C2412_IISCON_IIS_ACTIVE) > - pr_warning("%s: IIS active\n", __func__); > + pr_warn("%s: IIS active\n", __func__); > } > > return 0; > -- > 2.10.0.rc2.1.g053435c > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolin Chen Subject: Re: [PATCH 35/35] sound/soc: Convert remaining uses of pr_warning to pr_warn Date: Fri, 17 Feb 2017 12:28:44 -0800 Message-ID: <20170217202844.GA8215@Asurada-Nvidia> References: <3d93f7226ba34fede99f72ec038098a3d98a139a.1487314667.git.joe@perches.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by alsa0.perex.cz (Postfix) with ESMTP id 394382671DB for ; Fri, 17 Feb 2017 21:28:40 +0100 (CET) Received: by mail-pg0-f67.google.com with SMTP id y6so4623926pgy.2 for ; Fri, 17 Feb 2017 12:28:40 -0800 (PST) Content-Disposition: inline In-Reply-To: <3d93f7226ba34fede99f72ec038098a3d98a139a.1487314667.git.joe@perches.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Joe Perches Cc: alsa-devel@alsa-project.org, Xiubo Li , Sangbeom Kim , linux-kernel@vger.kernel.org, Takashi Iwai , Timur Tabi , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Sylwester Nawrocki , Fabio Estevam , linuxppc-dev@lists.ozlabs.org List-Id: alsa-devel@alsa-project.org On Thu, Feb 16, 2017 at 11:11:48PM -0800, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for sound/soc > > Prior to this patch, there were 5 uses of pr_warning and > 10 uses of pr_warn in sound/soc > > Signed-off-by: Joe Perches For imx-audmux.c, Acked-by: Nicolin Chen > --- > sound/soc/fsl/imx-audmux.c | 6 +++--- > sound/soc/samsung/s3c-i2s-v2.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c > index fc57da341d61..41e877d2b400 100644 > --- a/sound/soc/fsl/imx-audmux.c > +++ b/sound/soc/fsl/imx-audmux.c > @@ -152,7 +152,7 @@ static void audmux_debugfs_init(void) > > audmux_debugfs_root = debugfs_create_dir("audmux", NULL); > if (!audmux_debugfs_root) { > - pr_warning("Failed to create AUDMUX debugfs root\n"); > + pr_warn("Failed to create AUDMUX debugfs root\n"); > return; > } > > @@ -160,8 +160,8 @@ static void audmux_debugfs_init(void) > snprintf(buf, sizeof(buf), "ssi%lu", i); > if (!debugfs_create_file(buf, 0444, audmux_debugfs_root, > (void *)i, &audmux_debugfs_fops)) > - pr_warning("Failed to create AUDMUX port %lu debugfs file\n", > - i); > + pr_warn("Failed to create AUDMUX port %lu debugfs file\n", > + i); > } > } > > diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c > index 644f186fd35c..7423e4257a1b 100644 > --- a/sound/soc/samsung/s3c-i2s-v2.c > +++ b/sound/soc/samsung/s3c-i2s-v2.c > @@ -669,13 +669,13 @@ static int s3c2412_i2s_suspend(struct snd_soc_dai *dai) > iismod = readl(i2s->regs + S3C2412_IISMOD); > > if (iismod & S3C2412_IISCON_RXDMA_ACTIVE) > - pr_warning("%s: RXDMA active?\n", __func__); > + pr_warn("%s: RXDMA active?\n", __func__); > > if (iismod & S3C2412_IISCON_TXDMA_ACTIVE) > - pr_warning("%s: TXDMA active?\n", __func__); > + pr_warn("%s: TXDMA active?\n", __func__); > > if (iismod & S3C2412_IISCON_IIS_ACTIVE) > - pr_warning("%s: IIS active\n", __func__); > + pr_warn("%s: IIS active\n", __func__); > } > > return 0; > -- > 2.10.0.rc2.1.g053435c >