Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2687559pxj; Mon, 31 May 2021 08:16:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUCH9TXMEyUOoajcDL4f4yrqDaSdJ3H9mied2CsF/K/yVzZVPTAEfzquhLMv8GpZpZtMeP X-Received: by 2002:aa7:db94:: with SMTP id u20mr26007532edt.381.1622474176614; Mon, 31 May 2021 08:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622474176; cv=none; d=google.com; s=arc-20160816; b=HwxEizd4pL5Wuze8JBZum/PBAIEyhbStEAK8+w7Btj1tCJmeqj/CXlYpl5nT/fP2QM +tOvcNjOIV1h3s/kaxis4Q13+RwkTseOi5zGsPR7BAfItkmuzfM7Rf2uSrBcjES1FuT7 rq7S4KTqg6ozgGTXuuH/KhEQXW+t8M703QR4IMy3dNICRD8tENofYXOCvOo2M5DfK7QM 95MElzN3HeXhiHN0fAeVV6WRsJd8CVgxGqXszAC7Q8tjom3BJJAvDaURTeNC0jn/u9cd pwhRCkad5T3u34S1/IU8QIsp2q9sxxxfQj7LCEATgoszQoKnPQkQZS9PedbUg0AWxYFd xhvw== 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=TeAh9cUUOqNuRCHP3/Ugi2f/NpimDtZgZ51MM0lxv8I=; b=jXf7+rhRUpimyDxTx3uKJ/gSvXbY7ejMoZhiPBjySa1QmmlbrqcEOYAJIbrY3Cx9Y/ 7IxCG15aVe+vOqQYdiCLncZe0/7wTc6eHeDY9rA0iTwU2ETpqEAsn2Po+7oJ7icyqmx6 12XEULXecobm9EZfs7BnXfguVl/C2az6bI77Az3WR6b9nLcxqZDDVyFS1OLI1Gcb4Bgl a7uv/Ti2IRW7jgWvgFcjNLsRXdPPDJGDk5+3WEbG9PKhSmSbrLqLwhrcDZaKNUjeRU09 IlCcBwInwwymYdNktQPQrEiGAQqY3z2NsKqu0vF1tdqkg1S/iYybGv/oJgw9TdZQkG2n MYkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LUGNXkXv; 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 u23si7185308edi.175.2021.05.31.08.15.54; Mon, 31 May 2021 08:16:16 -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=LUGNXkXv; 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 S233157AbhEaPOP (ORCPT + 99 others); Mon, 31 May 2021 11:14:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:40258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232713AbhEaOLh (ORCPT ); Mon, 31 May 2021 10:11:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 322EC613D1; Mon, 31 May 2021 13:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468481; bh=FENa0w5QebvyTdEn74fgvITmGrQQvHSNLalO/I9Cx8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LUGNXkXvygrgGuIWN1qFZzohPCXRPXFpPSJ/jCI5Uu2wnCkgwDDW3Vb30QuFH8PbJ UACeqNSlrnkY8nU7FiR3bHFCk2K9CUaBsQv94Fuc/dmPYhT4TFgqwdAcn4Vyi/EWXv JBx6LKGf6ZTJyEj0nquUFbWIcu17EGfDY6hFNEec= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 235/252] ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static Date: Mon, 31 May 2021 15:15:00 +0200 Message-Id: <20210531130705.983881838@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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: kernel test robot [ Upstream commit 2b899f31f1a6db2db4608bac2ac04fe2c4ad89eb ] sound/usb/mixer_scarlett_gen2.c:2000:5: warning: symbol 'snd_scarlett_gen2_controls_create' was not declared. Should it be static? Fixes: 265d1a90e4fb ("ALSA: usb-audio: scarlett2: Improve driver startup messages") Reported-by: kernel test robot Signed-off-by: kernel test robot Link: https://lore.kernel.org/r/20210522180900.GA83915@f59a3af2f1d9 Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/mixer_scarlett_gen2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/usb/mixer_scarlett_gen2.c b/sound/usb/mixer_scarlett_gen2.c index 01ffef6a5146..9a98b0c048e3 100644 --- a/sound/usb/mixer_scarlett_gen2.c +++ b/sound/usb/mixer_scarlett_gen2.c @@ -1997,8 +1997,8 @@ static int scarlett2_mixer_status_create(struct usb_mixer_interface *mixer) return usb_submit_urb(mixer->urb, GFP_KERNEL); } -int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer, - const struct scarlett2_device_info *info) +static int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer, + const struct scarlett2_device_info *info) { int err; -- 2.30.2