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 0D8B7C433EF for ; Thu, 14 Apr 2022 08:39:06 +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: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HzCGqX6rJqoFpOttW6/qwB9BrH907NKLBQ928+s3dhs=; b=ceEVudfXg7umk7 2IHllyKpYpceJtJOC5bDf8Ki6vGauvuzvEmbN02TqbwEcuFDsfu+yposFYWRexZqqmivZVHUmc+JY 37SzQGyCkNBnP2D0edQp7TLtSOYVadOyS/Rhx/VcyIv0u8WzgFSspjVeuQeEAqIDN71AD+ylS5bl/ noZRzOksAZRXpHKlCUcx6rgQHjAAJyobaFsbtLRAoxiJ4IzvAMbNT65M8xLSkIskscmbbETSxBBtG 3bhZyGXZkzGxYrWallXEudaA2149q7i0xxMiX8sWcnXbVfse/7VsZwimboJPsdjoFcavOXkQjisSG lSOlUE6cWaKBMJwCfDvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neuzN-004aK7-Uw; Thu, 14 Apr 2022 08:38:06 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neuzL-004aJL-AI; Thu, 14 Apr 2022 08:38:04 +0000 X-UUID: a3d69ae142204939a7fb7e8898c0395b-20220414 X-UUID: a3d69ae142204939a7fb7e8898c0395b-20220414 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1619968506; Thu, 14 Apr 2022 01:38:01 -0700 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 14 Apr 2022 01:37:59 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Thu, 14 Apr 2022 16:37:58 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 14 Apr 2022 16:37:58 +0800 From: Miles Chen To: CC: , , , , , , , , Subject: Re: [PATCH -next] sound/oss/dmasound: fix 'dmasound_setup' defined but not used Date: Thu, 14 Apr 2022 16:37:58 +0800 Message-ID: <20220414083758.32396-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220414_013803_413380_065A3024 X-CRM114-Status: UNSURE ( 7.24 ) X-CRM114-Notice: Please train this message. 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 Hi Takashi, > This must be a side-effect of the recent fix 9dd7c46346ca > ("sound/oss/dmasound: fix build when drivers are mixed =y/=m"). > Adding Randy to Cc. > > IMO, a less uglier way would be to add __maybe_unused to that > function. But it's a matter of taste. thanks, I will use __maybe_unused and the fix tag in v2. Thanks, Miles > > > thanks, > > Takashi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel