From: Takashi Iwai Subject: Re: [PATCH lib 0/5] alsa-lib topology trivial fixes Date: Wed, 09 Sep 2015 12:19:36 +0200 Message-ID: References: <1441743701-28165-1-git-send-email-tiwai@suse.de> <1441793337.2439.42.camel@loki> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 337F8260452 for ; Wed, 9 Sep 2015 12:19:37 +0200 (CEST) In-Reply-To: <1441793337.2439.42.camel@loki> 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: Liam Girdwood Cc: Mengdong Lin , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, 09 Sep 2015 12:08:57 +0200, Liam Girdwood wrote: > > On Tue, 2015-09-08 at 22:21 +0200, Takashi Iwai wrote: > > Hi, > > > > here is a series of trivial fixes that have been spotted by gcc > > warnings. > > > > Thanks, Takashi. Dont know why we missed these. I seem to have forgotten to push to git tree. Now there. > Fwiw, I still see some deprecated API warnings for snd_pcm_hwsync() and > an unused variable warning :- > > make[3]: Entering directory '/home/lrg/source/alsa-lib/modules/mixer/simple' > CC sbase.lo > sbase.c: In function 'simple_event_add1': > sbase.c:327:16: warning: variable 'values' set but not used [-Wunused-but-set-variable] > unsigned long values; The former is tricky because its the definition of the deprecated function itself. The latter must be a false-positive, as far as I see the code... Takashi