From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755210Ab1GVTZk (ORCPT ); Fri, 22 Jul 2011 15:25:40 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57827 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755166Ab1GVTZj (ORCPT ); Fri, 22 Jul 2011 15:25:39 -0400 Date: Fri, 22 Jul 2011 21:25:37 +0200 Message-ID: From: Takashi Iwai To: Borislav Petkov Cc: Jaroslav Kysela , alsa-devel@alsa-project.org, LKML , Borislav Petkov Subject: Re: [PATCH] sound, hda_codec: Fix compilation warnings In-Reply-To: <1311356437-28816-1-git-send-email-bp@amd64.org> References: <1311356437-28816-1-git-send-email-bp@amd64.org> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 22 Jul 2011 19:40:37 +0200, Borislav Petkov wrote: > > From: Borislav Petkov > > Convert macro to an inline function to shut up gcc: > > sound/pci/hda/patch_sigmatel.c: In function `stac92xx_init´: > sound/pci/hda/patch_sigmatel.c:4385:3: warning: statement with no effect > sound/pci/hda/patch_sigmatel.c: In function `stac92xx_resume´: > sound/pci/hda/patch_sigmatel.c:4925:3: warning: statement with no effect > sound/pci/hda/hda_codec.c: In function `snd_hda_mixer_amp_switch_put´: > sound/pci/hda/patch_realtek.c:4176:2: warning: statement with no effect > sound/pci/hda/hda_codec.c:2320:2: warning: statement with no effect > sound/pci/hda/patch_realtek.c: In function `alc_resume´: > sound/pci/hda/patch_realtek.c:4558:2: warning: statement with no effect > sound/pci/hda/patch_realtek.c: In function `alc269_resume´: > sound/pci/hda/patch_realtek.c:14878:2: warning: statement with no effect > > Signed-off-by: Borislav Petkov Thanks for the patch, but this was already fixed in sound git tree. Takashi