lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 25 Aug 2014 16:03:11 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:	Jaroslav Kysela <perex@...ex.cz>, alsa-devel@...a-project.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sound: pci: ctxfi: ctpcm.c: printk replacement

At Mon, 25 Aug 2014 19:04:52 +0530,
Sudip Mukherjee wrote:
> 
> replaced printk with corresponding pr_err
> 
> Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>

Applied, thanks.


Takashi

> ---
>  sound/pci/ctxfi/ctpcm.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c
> index e8a4feb..6826c2c 100644
> --- a/sound/pci/ctxfi/ctpcm.c
> +++ b/sound/pci/ctxfi/ctpcm.c
> @@ -217,7 +217,7 @@ static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream)
>  		err = atc->pcm_playback_prepare(atc, apcm);
>  
>  	if (err < 0) {
> -		printk(KERN_ERR "ctxfi: Preparing pcm playback failed!!!\n");
> +		pr_err("ctxfi: Preparing pcm playback failed!!!\n");
>  		return err;
>  	}
>  
> @@ -324,7 +324,7 @@ static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream)
>  
>  	err = atc->pcm_capture_prepare(atc, apcm);
>  	if (err < 0) {
> -		printk(KERN_ERR "ctxfi: Preparing pcm capture failed!!!\n");
> +		pr_err("ctxfi: Preparing pcm capture failed!!!\n");
>  		return err;
>  	}
>  
> @@ -435,7 +435,7 @@ int ct_alsa_pcm_create(struct ct_atc *atc,
>  	err = snd_pcm_new(atc->card, "ctxfi", device,
>  			  playback_count, capture_count, &pcm);
>  	if (err < 0) {
> -		printk(KERN_ERR "ctxfi: snd_pcm_new failed!! Err=%d\n", err);
> +		pr_err("ctxfi: snd_pcm_new failed!! Err=%d\n", err);
>  		return err;
>  	}
>  
> -- 
> 1.8.1.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ