From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933011AbcBILR2 (ORCPT ); Tue, 9 Feb 2016 06:17:28 -0500 Received: from mx2.suse.de ([195.135.220.15]:49782 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932333AbcBILR1 (ORCPT ); Tue, 9 Feb 2016 06:17:27 -0500 Date: Tue, 09 Feb 2016 12:17:26 +0100 Message-ID: From: Takashi Iwai To: "Geert Uytterhoeven" Cc: "Clemens Ladisch" , "Jaroslav Kysela" , , Subject: Re: [PATCH] ALSA: firewire-digi00x: Drop bogus const type qualifier on dot_scrt() In-Reply-To: <1454854455-20894-1-git-send-email-geert@linux-m68k.org> References: <1454854455-20894-1-git-send-email-geert@linux-m68k.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.5 (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=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 07 Feb 2016 15:14:15 +0100, Geert Uytterhoeven wrote: > > sound/firewire/digi00x/amdtp-dot.c:67: warning: type qualifiers ignored on function return type > > Drop the bogus "const" type qualifier on the return type of dot_scrt() > to fix this. > > Signed-off-by: Geert Uytterhoeven Applied now, thanks. Takashi > --- > sound/firewire/digi00x/amdtp-dot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/firewire/digi00x/amdtp-dot.c b/sound/firewire/digi00x/amdtp-dot.c > index b02a5e8cad448c40..0ac92aba5bc1c9a4 100644 > --- a/sound/firewire/digi00x/amdtp-dot.c > +++ b/sound/firewire/digi00x/amdtp-dot.c > @@ -63,7 +63,7 @@ struct amdtp_dot { > #define BYTE_PER_SAMPLE (4) > #define MAGIC_DOT_BYTE (2) > #define MAGIC_BYTE_OFF(x) (((x) * BYTE_PER_SAMPLE) + MAGIC_DOT_BYTE) > -static const u8 dot_scrt(const u8 idx, const unsigned int off) > +static u8 dot_scrt(const u8 idx, const unsigned int off) > { > /* > * the length of the added pattern only depends on the lower nibble > -- > 1.9.1 > >