Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp940387pxb; Fri, 22 Apr 2022 14:55:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVDxa9D2V/U5kEdnMnC0PV1Ct/NpSyjrKTw1uGfPpGtTdzk7RjpWup5ZTXh3kWSrSNY3Yd X-Received: by 2002:a17:90b:1e0c:b0:1d2:7f67:f56c with SMTP id pg12-20020a17090b1e0c00b001d27f67f56cmr7577774pjb.69.1650664504867; Fri, 22 Apr 2022 14:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650664504; cv=none; d=google.com; s=arc-20160816; b=Oann8xqVlBeUP4TlZC2GBDB1A33Gkf8G/xPgr4G72AqYBIR+kN/jcWY7Esi/it3Rft Utnmvo0wJ2oZoEd2QJRDwKZEty0vy8jJqcAHL5g/F9P8+IssKGjluQg+zAjJzE1YURH3 /JSsWQ9Y11nga0KzZCuTkiclx6Ws9IeBYSyQciJwzADItM5KS6MDupgGG4UP0lkw05oC o3M99YpX1ppzI6ErdjJo16kO8CWs7VX8+bOnua+1Jxlea8dkHUvYa/PGIlgKXqPG9FjL QwRJXX8hTsJMaT7Pok9HQqH9Ja4/FRYBCoVaAtIhiIaoRi4Q3eVuO1bRJnLV7clwCt/d llag== 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=mAdj96DBsr5nxeDeyqlp0nmr0SjkdrgI+4axBdvYC5w=; b=tWFhDnr08HQpyASl3Qt+jG9QiH3VeO1iy482Awsg3rawlj8gj5N9XT+vSniTadZ7yt IrPeempGUQ0psiIAcU6HOorUpZnbdIrzn19XdQsQhD/t/eYcO8ars9rJidMkvgR8kL8H lCsTKFVLOgOinz7dsDm/EP0SLLgSf5iAL9K0ZYRlsBShlSXplDlCG4t2wkH6oXl7VQDo PhSrFn5CBUTH4ZhQiCr3B/Bdd2J+GBopjC2CPU3gm0+gSTQkvZZr1rK6qHiaZBcMBwWb IcqmocCx8sselJXZOno5506L+R41zQFoG6V3puwOFKIi9H0jlV1ZmbXePLqvrr7K/LIk MMCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xASxMAIu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=+1FJLxcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e6-20020a17090a9a8600b001d8c336a8e6si1726379pjp.76.2022.04.22.14.55.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:55:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xASxMAIu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=+1FJLxcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 C505923B9B5; Fri, 22 Apr 2022 13:02:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233092AbiDVGBf (ORCPT + 99 others); Fri, 22 Apr 2022 02:01:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233058AbiDVGBb (ORCPT ); Fri, 22 Apr 2022 02:01:31 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA4474F9DF for ; Thu, 21 Apr 2022 22:58:39 -0700 (PDT) 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") 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 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 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