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 88562C433F5 for ; Fri, 22 Apr 2022 05:59:32 +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=B6+BF+CKhM0F+Em1OuidlqIfWTWQk0/GWFHhNZq4yW8=; b=xIL8/KGX0VFoaJ Yz0XI2LxbbKfKOLeDC0ndjsIah6T6VDPxv1RQQgwL00EseKkBBBTQVb1xl8JLpt3mj0BqSX2DQLC6 ZJzqwQta7lpLFzdyITQZD2knTacQ5Yf2bukB3v24gIMiKZwYYCbBQcMJsgjnjKvndQVPOQvrTNuNp 7Lz+YfkZn5P5o1YWH5gVuFf9i5igq/2M8rEaRTZGJXo2eJJluzbWD2HHQGngpCRMuT1dV0fUkZVtT E39m39WAtPXym25zXyItkgvdutLmocsgprsSEhMBhALAf7LbdqfiSincca0phbL58YnSm8TWXDI9/ QoVgtR8kj9+UEOuoPDdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhmKF-00GJxB-Id; Fri, 22 Apr 2022 05:59:27 +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 1nhmJW-00GJTW-IZ; Fri, 22 Apr 2022 05:58:44 +0000 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 71CB31F745; Fri, 22 Apr 2022 05:58:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1650607118; 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=mAdj96DBsr5nxeDeyqlp0nmr0SjkdrgI+4axBdvYC5w=; b=xASxMAIubK7nP6qIQlJ0If3b6gpOnAZiMAMO8pyQe92Iws8uuW7OeziZbbfIkOIKk6lhP6 OKiXcJWeANEdpXRhmtMrCcV7XZaQryexNsX2kWNMy6Vq1K4kf7ZrYGMFBWBO6jmzW5sqbD NyHW8ylfkozghfoZiyYlC+dJdoJfweU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1650607118; 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=mAdj96DBsr5nxeDeyqlp0nmr0SjkdrgI+4axBdvYC5w=; b=+1FJLxcXtttys3GmCcGIqUu8myexJUnlFaOUFhgiEiUS3rRWhQouq/QfxQzFDjp9V4D1uZ +dUdggt9DoU6M1Bg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 640EB2C14B; Fri, 22 Apr 2022 05:58:38 +0000 (UTC) Date: Fri, 22 Apr 2022 07:58:38 +0200 Message-ID: From: Takashi Iwai To: Miles Chen Cc: , , , , , , , Subject: Re: [PATCH -next V2] sound/oss/dmasound: fix 'dmasound_setup' defined but not used In-Reply-To: <20220422025312.7718-1-miles.chen@mediatek.com> References: <20220422025312.7718-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-20220421_225842_776639_ECAC64C4 X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Fri, 22 Apr 2022 04:53:12 +0200, Miles Chen wrote: > > Hi Taksshi, > > >> 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. > > This patch is needed in 5.18-rc3 [1] too, should I submit another patch or > you can pick it to the mainstream? It's included in the branch for the next PR to 5.18. thanks, Takashi _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek