Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4817553ybl; Wed, 22 Jan 2020 05:20:02 -0800 (PST) X-Google-Smtp-Source: APXvYqzQZofGA2ZS2Upco1WYYS2JxoiJYOEed5kHiOIYZaaM0AZ0Q5DP41jWreqmaowiL4Zh8alr X-Received: by 2002:aca:d4c1:: with SMTP id l184mr6903421oig.172.1579699201952; Wed, 22 Jan 2020 05:20:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699201; cv=none; d=google.com; s=arc-20160816; b=JBBREocog1af6a+JXUh2NEnI6ACxsbFICuJiOhIdZtrUkW6DGZy0gY65WyX1KG38x1 ESkgX1PePGw8k/AH6PBLSvR+Z4uEvt0wwTVE27ONIrN9QcXBreAtwUua+FpiCkm9Oxym WTT9Z30lzW6jxIr5927aBROqv7E1zvbDBNx7cVez6+2VbBj0y4pIztZOIjkdManJCllP WTRfAFmBGDn8vMz8cQP1qN6m662yRhf0Mwscs/H15pfCfSfGO/2adUx6vFq07eSg4XOq lrKOUWvqokh6jmjy5c75GEw1pKxm4p+sbpJ8i4eMBdo/byZBeXOY74xrtJE5rAlRmGHa YrdQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CC7QETOHAJCkEXS3dR8cUnXV+DADJ9bSmbEmL1pgE/I=; b=I3JP/drDe9DgTWjPfLQPWAYtRev0Ct/xzbadriUgZ0ZSDC51Oc+MvQXs6BoyDYe27E 4bwnzKwTqoShi31u22CwCdsVs0+0fdHdCrpQGLqyqqUJJOOgEzYDQlMOCZuLutFIW8UN 4tNNvxVfYoq/EBn4pXZX1HM5Ebd8NIBRDFfd2g7Zvi1TiwkqfGv9Pej2kbiV0B43Tu5i auaRqYOJTwMIYbmkuztB0c1f9EngpVh3X+tOYPEG3rMNaDez84uzm9pf5G+KIxd71gvP 2MZL2pbbaL8As+popahBf7yGqNGENs0HjBn7hU7Mb8E49HReDbP9vB88ZFP9cn6A54Pp SZ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QOfmzV7O; 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 m17si23873636otr.17.2020.01.22.05.19.50; Wed, 22 Jan 2020 05:20:01 -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; dkim=pass header.i=@kernel.org header.s=default header.b=QOfmzV7O; 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 S1729281AbgAVNSX (ORCPT + 99 others); Wed, 22 Jan 2020 08:18:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:34002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729260AbgAVNSV (ORCPT ); Wed, 22 Jan 2020 08:18:21 -0500 Received: from localhost (unknown [84.241.205.26]) (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 7F9282467E; Wed, 22 Jan 2020 13:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699101; bh=5ATbnEXS5jdYGJx+U4E3UUO3331ZkleiTgJsuFchegU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QOfmzV7OOs+rDAY8CZeQoKrDyQCraUfAwdEK8yghMq9IXqOFLqaWzEVjhR/mGEYxj 7GPJYbPybOYEiWjBOMmZeCXNLx7Ql6rUNWhswoBa7ygp2bhkH8MB5y9Gx8JihvvRPb XJUjrImFzvb2MOY/N0/5+tFRsBIGWOI7maQvLt/k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomasz Duszynski , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 5.4 041/222] iio: chemical: pms7003: fix unmet triggered buffer dependency Date: Wed, 22 Jan 2020 10:27:07 +0100 Message-Id: <20200122092836.481202605@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Tomasz Duszynski commit 217afe63ccf445fc220e5ef480683607b05c0aa5 upstream. 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 Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor") Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/chemical/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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