Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6612447ybl; Mon, 23 Dec 2019 08:41:39 -0800 (PST) X-Google-Smtp-Source: APXvYqydAnoR3WiIJIekoVUNQce/BC7JcQCxYF306QB/zH4HAq8xGUKOgdTQUabPjvQKnejXagw6 X-Received: by 2002:a9d:222f:: with SMTP id o44mr20643873ota.51.1577119298914; Mon, 23 Dec 2019 08:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577119298; cv=none; d=google.com; s=arc-20160816; b=HMOoDHAo3QMM7iomOuBiY7UX145MiUbUzpmQGTmIevnVX5zWvJfNSr+KfXZ7ymrtxL bVQmj6g9ucycUIBxkyZbGIofXBrxN7EyRiSwZBt7zeLKYuALPADi3qD8cLqA77sKBWht W/8YnKZZ6+DfHDEuvuywQuonAjS6jK7I+Mmv0c6Z0ZonLAMLUcJTpaF1VqdiUxvjl7tC gKGh5B+ekYe6p3MIJ653AxVqzwbXlFZ8NOc8M+RRynhXWGMv2fMbd9HKy0HdgfhOz7O8 sd3Q0+1UXIkehcCZZgBsSaN9/7UEPZ56tWxl+8R4obNV/6Va42r97O1VkEfEctJrBLlk exNA== 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=+j/YvH/QsLiUIx/Db7tXWo67/1Ezm4brS6rBn4yOLc4=; b=eFuxe25bcm7AEgJD0OaRundDYysoaCF7hAAu3UBc3VH/JisNtorZ+opO4p1DWQ/ZVF qkHQnb3cFUgVxZZgCKnD8eNK96ItHb2Abjy/n1HPzmGPQzxxvJrjs6cqwbS0qcj3LGoO M9IBhLWP5vBezuDrpb80yIeXQIf48eY47ht3vkV8n6qegtERiXuoQ8sI4f19WY3B/WI9 GbLcgDRB/Gd2LMdunwhP4nMKjB7o21Z2HimF0N1pBpADGKa6tSk+reVxXYnsk/EPvB6H x568viYiH0rCykC+GuINtZqWa0RVLdj0+JSvp+PuI6g2Y58iuvWzsdhI/EbzH/ZXNs4f +wyw== 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 c16si5465725otj.258.2019.12.23.08.41.26; Mon, 23 Dec 2019 08:41:38 -0800 (PST) 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 S1726861AbfLWQki (ORCPT + 99 others); Mon, 23 Dec 2019 11:40:38 -0500 Received: from saturn.retrosnub.co.uk ([46.235.226.198]:34676 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbfLWQkg (ORCPT ); Mon, 23 Dec 2019 11:40:36 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id 149DC9E73DD; Mon, 23 Dec 2019 16:40:34 +0000 (GMT) Date: Mon, 23 Dec 2019 16:40:32 +0000 From: Jonathan Cameron To: Tomasz Duszynski Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: chemical: pms7003: fix unmet triggered buffer dependency Message-ID: <20191223164032.78498e6b@archlinux> In-Reply-To: <20191213213808.124603-1-tduszyns@gmail.com> References: <20191213213808.124603-1-tduszyns@gmail.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Dec 2019 22:38:08 +0100 Tomasz Duszynski wrote: > IIO triggered buffer depends on IIO buffer which is missing from Kconfig > file. This should go unnoticed most of the time because there's a > chance something else has already enabled buffers. In some rare cases > though one might experience kbuild warnings about unmet direct > dependencies and build failures due to missing symbols. > > Fix this by selecting IIO_BUFFER explicitly. > > Signed-off-by: Tomasz Duszynski Applied to the fixes-togreg branch of iio.git. Marked for stable and with the addition of a fixes tag. Thanks, Jonathan > --- > drivers/iio/chemical/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig > index fa4586037bb8..0b91de4df8f4 100644 > --- a/drivers/iio/chemical/Kconfig > +++ b/drivers/iio/chemical/Kconfig > @@ -65,6 +65,7 @@ config IAQCORE > config PMS7003 > tristate "Plantower PMS7003 particulate matter sensor" > depends on SERIAL_DEV_BUS > + select IIO_BUFFER > select IIO_TRIGGERED_BUFFER > help > Say Y here to build support for the Plantower PMS7003 particulate