From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: get rid of CONFIG_SND_VERBOSE_PRINTK Date: Tue, 04 Jun 2013 17:03:46 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 232AF26513B for ; Tue, 4 Jun 2013 17:03:10 +0200 (CEST) In-Reply-To: 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: Alan Stern Cc: Joe Perches , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 4 Jun 2013 10:49:22 -0400 (EDT), Alan Stern wrote: > > On Tue, 4 Jun 2013, Takashi Iwai wrote: > > > At Mon, 3 Jun 2013 16:18:49 -0400 (EDT), > > Alan Stern wrote: > > > > > > According to Takashi Iwai, CONFIG_SND_VERBOSE_PRINTK is "useless". All > > > it does is add filenames and line numbers to certain log messages. > > > > No, I did't mean it. The file name and line number are useful. > > What's useless is to let user select CONFIG_SND_VERBOSE_PRINTK. > > If the extra information can be annoying, the driver should use the > > plain printk() or whatever from the beginning. If the driver code > > chooses snd_printk(), it implies that it wants extra information. > > Although most of the calls to snd_printk() are for errors and warnings, > some of them are just informational. You don't mind having those > messages suddenly including the filename and line number? (At least, > until someone gets around to changing them to printk() or something > else...) I wouldn't mind but some might do :) So we should clean up the excessive usage of snd_printk() and convert them to the standard printk & co at first. Takashi