Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp984220pxb; Fri, 15 Apr 2022 17:24:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd5DRgoHFisdyhIvyk5HWRjEV5HYXoZP5KFPZVmS9iECaYlYKcuuEm91rhZAQqP717SK+y X-Received: by 2002:a17:903:2283:b0:158:e7f4:7056 with SMTP id b3-20020a170903228300b00158e7f47056mr1089361plh.24.1650068674256; Fri, 15 Apr 2022 17:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650068674; cv=none; d=google.com; s=arc-20160816; b=AdBG9/hcDYCF/iF/ekeioUznwip/6/cV1/Xx4GBT195meGzVQsE1qAYnJI8wUuoQc6 8WkJo0qV+y+TXsSpzoYm54+hL+cLWatzsKoAWNbptZ1P33nHsrJ9Npd6YvwrCXb/oWyw qh/KkktBJsymMFcrbqM6Fzsg7+ThGZIOJQNkN/DBejKC/pN2vbJKTtahEyIPJw5UqW5R MlUDYpPZspoW65Ugcjb5l59zHS+zgmZKAddfwySGM/w5/nViHjTchN2yRcTxkjtMQAwS dJq5CU02HeUQj7f7cNj+N1hMOGvTUvq4KP9G2sn5btzIpY51P7xhjLIZkf4hUbDcdIY4 O8+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=viPGOxBCK/6yrtUXZmjgKNNFIfaq+GYt5tBjm/Mp3Lw=; b=Ap0aTMg11BneKikjbpT7Ze5cYVeOpeWuq/LwpD5vHN0LFiWB9JT5vgK3aI5rCN6T/y T5CNfXydbBTA7fPDAKQzq64iKEod5aCTXK4vKrA5Sf4pUgVxRpV/ru6T3n/aaBHlBFLX diNbhF0ISRziFqS4GO93wi2u/o35nkK8P1EnpwR5SCF56cHG4NJB327ZzwEYezz42syp JNbMDKpT7yjxnUwm5E7sQVVYSOGMDERXgDRcxHGTj/8Xcyk0mPwKsSDUnRTTrSitsiZy B4HwEhfIHfK827al/yRgdRCjJdNg5NGy1WgWNYKtNVPyiJki16waKBIpfzrBvjV8mt3B aqJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=g5YRzuC9; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q1-20020a056a00150100b004fa3a8e005csi3168346pfu.275.2022.04.15.17.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:24:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=g5YRzuC9; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D881DD557B; Fri, 15 Apr 2022 17:23:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350940AbiDOHUa (ORCPT + 99 others); Fri, 15 Apr 2022 03:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350934AbiDOHU0 (ORCPT ); Fri, 15 Apr 2022 03:20:26 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53DB2AAB44 for ; Fri, 15 Apr 2022 00:17:59 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 02C591F74E; Fri, 15 Apr 2022 07:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1650007078; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=viPGOxBCK/6yrtUXZmjgKNNFIfaq+GYt5tBjm/Mp3Lw=; b=g5YRzuC9wukZH/FdrvUXp9a/WM4jerag5GWlxUSAydLCei/m9mJDo8pKJzfiSNWCLiCfH8 G52tKnspo+UW1l2pewqNpb/OZgqP8URNqBg9vc0fxXcCnnF6x5eOYzPdq/j7OTIfZz8QLk ad2BgsbFpnkpU41cBDVSXVaeT6u8HA8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1650007078; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=viPGOxBCK/6yrtUXZmjgKNNFIfaq+GYt5tBjm/Mp3Lw=; b=SH4z1luDEH7Gpn/a/OeHv+jsI/0+edUZT1KFNiLt2MbUV5mFDnu47oMVYBow+ja0Vfw+YP r3d6T9UjJ+3nfjAg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id E31D8A3B82; Fri, 15 Apr 2022 07:17:57 +0000 (UTC) Date: Fri, 15 Apr 2022 09:17:57 +0200 Message-ID: From: Takashi Iwai To: Miles Chen Cc: Jaroslav Kysela , Takashi Iwai , Matthias Brugger , Randy Dunlap , , , , Subject: Re: [PATCH -next V2] sound/oss/dmasound: fix 'dmasound_setup' defined but not used In-Reply-To: <20220414091940.2216-1-miles.chen@mediatek.com> References: <20220414091940.2216-1-miles.chen@mediatek.com> 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/25.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=US-ASCII X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Apr 2022 11:19:38 +0200, Miles Chen wrote: > > We observed: 'dmasound_setup' defined but not used error with > COMPILER=gcc ARCH=m68k DEFCONFIG=allmodconfig build. > > Fix it by adding __maybe_unused to dmasound_setup. > > Error(s): > sound/oss/dmasound/dmasound_core.c:1431:12: error: 'dmasound_setup' defined but not used [-Werror=unused-function] > > Fixes: 9dd7c46346ca ("sound/oss/dmasound: fix build when drivers are mixed =y/=m") > Signed-off-by: Miles Chen > Cc: Takashi Iwai Thanks, applied. Takashi