From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E47FCC433EF for ; Fri, 15 Apr 2022 07:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q63z2cfzNQzxPZhm4Zt1sEjio/37qNoJC8RBlbNF3O4=; b=WS7+GZ0GdHF5Ui +q+FkJQLKPVAIM5jStosZJ8NX2aXxO8YPvN5YV5yQ8RtRP93BdS0Sm39WfZcPyUlZQI4dC5qjckNq wbhqkLvOJ3gc0yUq7G3cQO1VCuv6FqO15iadGV0nFcR3/qZ/IKUMmwvxjjDY4oChtKCfiB0/XacCd QPpILY1At8LB+1qUIAM5fSGzieBKuBh9l5Vo7M5I9Nv3LH0Q4XQp11eFWvJq5Mfzo09qkO6Ihrynm oGTsu1pCrgLCwIZ5LepTuPnV0jobLeD9wdMBtO5bAlQeJ7F/kT4kZv8iyNymw6VIqU821S1hnUh7c HtqBannsEeYmgQuuNkWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfGDW-0099af-5N; Fri, 15 Apr 2022 07:18:06 +0000 Received: from smtp-out2.suse.de ([195.135.220.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfGDR-0099Yp-8e; Fri, 15 Apr 2022 07:18:03 +0000 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") X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_001801_504550_4603397A X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel