Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp580488ybe; Wed, 4 Sep 2019 04:43:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRYqZgvk8sxUA2kv8iqlTN3nyS8gzhgnEQSQOnzVeXY8PzrWOAff+hSfk3WARy4iwbFgIE X-Received: by 2002:a17:902:8345:: with SMTP id z5mr411998pln.22.1567597395890; Wed, 04 Sep 2019 04:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567597395; cv=none; d=google.com; s=arc-20160816; b=hf6YFh5k/L7m0trOCkRHPHhr8ROw+Nf86TsW+El4/zrMvDu4bp8HZpKS5xf/RpZuTX 1ANXet00U2esL21qVwB2oWzRgzk6ADi4NKNRihcFEXBEYBsPjq2904ZlqMMWy7pR+F4p DiypQcKI5irmn55EQXeMjLI1NHUjn2woRU/19q8ZytlY0PC8cooHlsy/7DJn13HzhlQg 58mebnwAddrldeaMcQbOSUczq0VBIQSWDqExWsenCw/ZccO9jzT8woDDr5K4SDLJlQV8 GXVCARy9mzB0nL1GSoPDgsJTKfXZtFbGwvhnrj5FaA0nz5kRT5DuFWMGONpq9PiBqPsq FZtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6ZCcumhY43hsP8dNzTV4Wi+DWJBURqgi/MHYifzwAwA=; b=0JJW1uD1KwmuUjwWVwZ4msidHSPNJ06Cq70uk3LJAOxQXUjKf45+W0/ljf/k+t1mdA VTKPVzezFbGKJ79BwwOmUbhk48HcZXxAx4NbHW1M/AoRBtKq3m1pj31iZEqCRcoUnTdq 7w6pZesNrTAdDvEIPKIIfNwArvPX/8gT+gGGs+TqEgzbZRaYQM0+TQ3NHLNAo5a9Y7D5 3iLC0g0ubIbQtlT1v+xgVtmFwM4OwQjk0Fr92AvElpT0YKsTxDxGcPb6PT9f4WSadqkq iCxcofD+1OwQTs5iN1pWzy/UhCBRkSb7vRHyc9cGJtxBJ/NDrXi+e7hWEUeYw7xZ92qT RAbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HpDusYLy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5si2153169pjq.52.2019.09.04.04.42.59; Wed, 04 Sep 2019 04:43:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HpDusYLy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbfIDLmI (ORCPT + 99 others); Wed, 4 Sep 2019 07:42:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:54920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfIDLmI (ORCPT ); Wed, 4 Sep 2019 07:42:08 -0400 Received: from localhost (unknown [122.182.201.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EAC4720820; Wed, 4 Sep 2019 11:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567597327; bh=Iu1vh+UB2UTe/P8T2CkcUAMYlHAR9Uq0TtPWxda2pqc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HpDusYLy+uvhV4rv0L+uXxG5hVwlSOCOoihvmRGmo0YMM1lesw1xfGTKuATz1aHee djikE5xbk2y8Bf3BabxlRiGlQiDggItPbT/vIESI9SdfrO75il7LkEghSDKZXeyjAp a2shKS1pDwU9wwXgaVpNNI/aogkbvbXt7hP3FipE= Date: Wed, 4 Sep 2019 17:10:59 +0530 From: Vinod Koul To: Michal =?iso-8859-1?Q?Such=E1nek?= Cc: Randy Dunlap , alsa-devel@alsa-project.org, Sanyog Kale , Pierre-Louis Bossart , linux-kernel@vger.kernel.org Subject: Re: [PATCH] soundwire: slave: Fix unused function warning on !ACPI Message-ID: <20190904114059.GU2672@vkoul-mobl> References: <20190830185212.25144-1-msuchanek@suse.de> <20190904093052.GQ2672@vkoul-mobl> <20190904124803.1700a65a@naga> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190904124803.1700a65a@naga> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04-09-19, 12:48, Michal Suchánek wrote: > On Wed, 4 Sep 2019 15:00:52 +0530 > Vinod Koul wrote: > > > On 30-08-19, 11:56, Randy Dunlap wrote: > > > On 8/30/19 11:52 AM, Michal Suchanek wrote: > > > > Fixes the following warning on !ACPI systems: > > > > > > > > drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but > > > > not used [-Wunused-function] > > > > static int sdw_slave_add(struct sdw_bus *bus, > > > > ^~~~~~~~~~~~~ > > > > > > > > Signed-off-by: Michal Suchanek > > > > > > Acked-by: Randy Dunlap > > > > > > I was about to send the same patch. > > > > So I have applied Srini's patches which add DT support and they use > > sdw_slave_add(). So next tomorrow should not see this error as it is now > > used by DT parts as well. > > > > So dropping this patch > > > > That should fix the issue for me. I wonder if !ACPI !DT platforms are > still a thing. Heh that should trigger this if we have one :D so should a lot more which depend on some firmware! -- ~Vinod