Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp530682ybe; Wed, 4 Sep 2019 03:49:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyYiJ6Za3OXyiUwY5yag8FLcaJ8WtW71C4zpDj+kdAaBLzTBqNnEvF1M/LymzePIM/bTKe X-Received: by 2002:a17:902:8644:: with SMTP id y4mr231164plt.333.1567594185679; Wed, 04 Sep 2019 03:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567594185; cv=none; d=google.com; s=arc-20160816; b=ZlaIoSimGIJAN4N5S4+fmZhzsYlUxmlydRxoQKvqmi6tYMc1esKeLTrV9gkvePBzrS Uhsc0/LTjZVnqLNb2kS/cZhgVEKMezQEDSnObHA7e0l9eJ2WpF90M/GsSorV7IF5SxEF XutrKKoEZL7nCWslRGpsJKKUj5wxQK9TUQ+UVG1bJd0Bxt/4fYIb324PmOx7iGvCbyM9 3wnl9rL/+HzQXSlo7PQLS9gxPhmyMCdE6+oF5hxuIFIzUU9rOtpnuGjn0m0oc3prVzhe VHh6hCRVQgyYLb+aOa5TyWr9IrwtuQztRtHomqRbdlIdiC4H+x8NPvM1feOi4rWWovJ1 U6ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=N3bJr34tTf3+nZ4KyCIHqclbowiy1DV+KT2M6KfAJE8=; b=YRhlDiFV0H7MANVV3pna/nuolLhkIpyv3AcRL8KsZQ+hLsTK46Yw5GqOpRwcdcRxFP tfyMDXqKJIFUY17Smy+yiKWbhaOqwZP6q6OeEsY+kheZouFr/t8XRUjga/zlktU+3hE5 dR+AigaXqhzA52w9DHG1RKcTJ4xQlCgzhoi+D/qxXxdeE+8cVqqkibeEJ2skva1lJNqW SujrYpS1AHSCLdJRbN2WGQFSxKF2oPTm+uD21VsNzBZZwoZiXIdSx/pLh0CzZ8jvuZec Yf5PcxZRhPjZY2f6pKGzWP022EX7s67amfYCyaL+fWxuMhJjeNVg1kEPW49E3jmvr5F9 36HQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p190si20949283pfp.2.2019.09.04.03.49.28; Wed, 04 Sep 2019 03:49:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729682AbfIDKsH convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Sep 2019 06:48:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:56244 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725840AbfIDKsH (ORCPT ); Wed, 4 Sep 2019 06:48:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BF4C4AD94; Wed, 4 Sep 2019 10:48:05 +0000 (UTC) Date: Wed, 4 Sep 2019 12:48:03 +0200 From: Michal =?UTF-8?B?U3VjaMOhbmVr?= To: Vinod Koul 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: <20190904124803.1700a65a@naga> In-Reply-To: <20190904093052.GQ2672@vkoul-mobl> References: <20190830185212.25144-1-msuchanek@suse.de> <20190904093052.GQ2672@vkoul-mobl> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks Michal