Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4829252pxj; Wed, 9 Jun 2021 02:56:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUOKgcBn62sUwxnmSkFNOCeMcO1pmYbEF5sVuZbCfQjGnPDeLe9rYZ51H7x7Nl9ZKtK+Td X-Received: by 2002:a92:cacb:: with SMTP id m11mr22403902ilq.133.1623232574543; Wed, 09 Jun 2021 02:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623232574; cv=none; d=google.com; s=arc-20160816; b=dnKFTM3TD1IZmlhxmV8ao/6bB0pH4/gNNNK3UOYQyZ5JUNuR5OpOYPZHW8t9OHUKWO A+/X9ObjckyPuzxMQDremmCrkA3G5FzCvAc7s2GvokWDB1kaZpmTH2WVHs7QViXoGhyC lZFImbmkSKnJMn4oFYwyKzkQy4n/b8xKcEkMj6Yc03DYxY2XeXpKi4VsglcYep6a/4rM FF4a7rxxUZFP/Uq0QP8SRZ1JKfOicfKJSQUVPE63iAPJM8F74wHJ32cIqBS813Z++fk6 N3qQkFltuPbyukakK3MPd0eO2PZPcv4dX6UeknQ278ERtTrij18MBdnxuVYWre/fSAL/ /cpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a9Bu+gaDv4IQJAzOoLKGlQIf0K9dgLdZh4o2cvBH+qs=; b=xks/xAcBfdO3b/WKN9Cs5nbhhSb8Mwf+dFJjtegkHk8UTSlSavIal48cV29lq+5e5j BcwqBmxz5P4geJ0AMnbuBevyCUR5XEy3Lt2jbePAL2dB3Ht8gDHsh44r5c7YsdTHl2d2 GiwdXLEua+yMkeQU5AWcLXXnOTYV1/DrCOVPZ3Rn8MW9hOKcta3JR98EBgd03P2k7pPd gu2TsA4Y3N2H/UHEMnluf1NwiWWb5qGFES+eH7y+urqZSIsceZwLe5E+EiHTDLUDPjTf j+7aiDCHWnmpwnek2Jo6XoegWn7N3wUw41Kq52AOu6hEYOjJ1q5ULgsN7RMbANkYEyeL Woww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wmypTInc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si2670703ilo.98.2021.06.09.02.56.02; Wed, 09 Jun 2021 02:56:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wmypTInc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234923AbhFHSr6 (ORCPT + 99 others); Tue, 8 Jun 2021 14:47:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:43310 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235174AbhFHSnw (ORCPT ); Tue, 8 Jun 2021 14:43:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3CC126144C; Tue, 8 Jun 2021 18:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623177380; bh=EFCwjrSDZsawmY/5UjW4h5yrRXmxiWZgaHmVzT/5upE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wmypTIncnaDDICX0AjJ9G8KhYN+7abA1JNKkjnJ+G3W33IDPGn0U5cOuQUSGnHnDO 8C6Tg4nS+AjfBqEvD0kzsTZ9X46MjL2irn2KqTefTfZsCEoQvLHaOAhYCtrmO2JtOl rnJY62y57Qq51Db/M8nqqFXAHdsUuThWQC6mpBco= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai , Sasha Levin Subject: [PATCH 5.4 03/78] ALSA: usb: update old-style static const declaration Date: Tue, 8 Jun 2021 20:26:32 +0200 Message-Id: <20210608175935.384408437@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175935.254388043@linuxfoundation.org> References: <20210608175935.254388043@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart [ Upstream commit ff40e0d41af19e36b43693fcb9241b4a6795bb44 ] GCC reports the following warning with W=1 sound/usb/mixer_quirks.c: In function ‘snd_microii_controls_create’: sound/usb/mixer_quirks.c:1694:2: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 1694 | const static usb_mixer_elem_resume_func_t resume_funcs[] = { | ^~~~~ Move static to the beginning of declaration Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20200111214736.3002-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/mixer_quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 5251818e10d3..d926869c031b 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -1697,7 +1697,7 @@ static struct snd_kcontrol_new snd_microii_mixer_spdif[] = { static int snd_microii_controls_create(struct usb_mixer_interface *mixer) { int err, i; - const static usb_mixer_elem_resume_func_t resume_funcs[] = { + static const usb_mixer_elem_resume_func_t resume_funcs[] = { snd_microii_spdif_default_update, NULL, snd_microii_spdif_switch_update -- 2.30.2