Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2715664pxj; Mon, 31 May 2021 08:58:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7k8UbBkPI5onkJgC+JDmHO8ulq0i0yHIhCMEVU6pAKvUKNk0rHS4aon8yA5aoMMjT1sDF X-Received: by 2002:a50:a6c2:: with SMTP id f2mr19478313edc.39.1622476680185; Mon, 31 May 2021 08:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622476680; cv=none; d=google.com; s=arc-20160816; b=cGZoD9SeXE0E+04j77l1zPu4fjJYdKgUHboNITsCAwJdPZBdDKnPt5gGbjE1BCY1EP E78O3BdRdxoHm2IWUHVTfmatCz79swtSYY5s+lmDZVACjk0lms4gt3vYH30m0knbxH13 jouboLYXclZ2n7tICNi8qHhCYnp1kzQwbjAcC8wvrCevnmwPbaE3DU5gPpg6CYu4h/K4 JjxhD5s1xieVFEScK5sIOBHHFSWvIXxu4Uz2IQGdzJyauJ7xK1CYU77dYWqaJIQ12xVq RG0JJYrRyJ8X8f87FJYNB424rdGz7lnY/fM/QbzXkyGRUW092U5movcGwtUwGouWAsxY lUXA== 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=wKmOtYyOxI2H88N1mbVkRakXbvUnbg6cSiwqimPolcQ=; b=K/2EiodGEK84Ek+pMBkfmz/T4g1XoslhNYDCD1/AEpHgDuh6d6SIWXBi1AUV79K4jF QrYEMftAmIufG418syQpo58sV/AwfOqNCMByP3vFo0PG4e/kZCTet+odbSvlvsIM8ZR7 9nirCrRAjqEoIz5bpUhn+i//EYXrknHPTbG3q/S4nYKXq2nbyYl9b8dnnGtCQSfDg30f idKKPBFiIa47qTGTapxhS+dZIZU57BPylXgwMtyjQoT3WkpizrxenQOkeCSbuqNg1yT3 nk0McVq1G41xJyKtjy87nrWfVIdssZFNVuFvWjUaVmEykCiMjgcnIJwq137tQkYUtj0l YJlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qKjM1qWy; 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 nd10si11328235ejc.600.2021.05.31.08.57.37; Mon, 31 May 2021 08:58:00 -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=qKjM1qWy; 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 S232182AbhEaPzy (ORCPT + 99 others); Mon, 31 May 2021 11:55:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:55188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbhEaOaT (ORCPT ); Mon, 31 May 2021 10:30:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7286661C2E; Mon, 31 May 2021 13:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468928; bh=mW3JzDDoBeI87q2S+WAWUMH1ZVcEe+BKdYPGrjlANXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qKjM1qWyqq464w+YG9z7TiKEHNSSQcTIhY1TmcjzaBpep2tvOs6MW2FVu62QJQWbU EtcnGw5Hv3LXsHHWDBrdHvIFKA5wzzBmKNRjTRXf20mkTn5oQpOQzlR7/7k+S9djCj DXmL4LpyQvhVBl2FeiN3oDu7U+cXxKGq6fSIx2Vs= 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.4 165/177] ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static Date: Mon, 31 May 2021 15:15:22 +0200 Message-Id: <20210531130653.623901380@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@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 a973dd4d5bbe..7a10c9e22c46 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