Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp589566imc; Sat, 16 Mar 2019 09:37:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkkG93XvKRJHCtdcr3JJICKzaRzc+3WxHtPfMjsagC16n2fHaLQxwU9t98WLAi3e/Kwup4 X-Received: by 2002:a62:ea08:: with SMTP id t8mr10094621pfh.60.1552754245810; Sat, 16 Mar 2019 09:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552754245; cv=none; d=google.com; s=arc-20160816; b=BU8mYtuJUnAp7uKlq6xM1eAoUIYRd8FyCu3Hx82H91YZ/npWSd49SVGPNLbbguTrxr iIjCkijUwtmYguNSLaPfeVFR7AeZKmpI1nAYbg4mv+ijRADPDvHuS5Gx1g6vG/IecY+c vbyVN3U+XKIsc2LFgsGPpw4ZYMXRtWcmyeA+JqRpRqnAlNWfuQHt2tl/UnegM98eXyjD rNc9NQD1dr/C6VOuseXuvfG4eZks2raf57e7cg3/dugA1oIp0bFLP4BNEo4W9A8mA5Dl Em0JO5FsR+GYKX4kyNLWNo+LM7q6Gzs36IdeNs9Xe+UW6p7UUMyC1gk4tfdr5HIoVmOo 6t4w== 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 :dkim-signature; bh=ZrE9c6x/d9V4NDp9jhn6xKVOLgLKZgxMdW4W4c3EXig=; b=dSWkpt4TaWmFqNTpZK75fvMbhJuRQaPC7wp3fdaQQRS1cud0VUporLnWKC8E864V/q 7SDO9athER+xAKFzc+2KIXm4mBi045Nfh1JZc3gXvhz7uXFBxAskdubtEpXd2n4xQaxM 5KW1YbbU+0T+NhAqqOGSfn4drQytUN7+VjgkuXz3EGBMF/A07GzdggmOLGc2+Y0nsTik osqeQ3Vm2t8KAEsPQseACLuBwGilYnucuOHiRXT7YMiXbQXgVtW7ytPAjPFL0oFhRbsG IG2Nz8tEdu66AcD21WmI3FqEPcJldK7Ayv2ZFNxUaVecOgzjiP5l02cLNzqZXQYw5HD4 MAXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IxsuqA56; 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 h130si4983781pfc.16.2019.03.16.09.36.58; Sat, 16 Mar 2019 09:37:25 -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=IxsuqA56; 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 S1726698AbfCPQf4 (ORCPT + 99 others); Sat, 16 Mar 2019 12:35:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbfCPQf4 (ORCPT ); Sat, 16 Mar 2019 12:35:56 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 19A732186A; Sat, 16 Mar 2019 16:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552754155; bh=Ih/i8auErnWevqTqbXCcW1dnCTmu7DpAJKUmWM4uL1U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IxsuqA56AEXFVzBVGVCFL365uUPszL0tTFYt4SypBF+kJC85Wr6rAsLtF6eUnJAji zGZDHWKkYgRyNoCKOSaw/+f92Oxk/l/zzmjq88hF93fwqLCb0Zv9kqZzFuEj45AnZ2 KQz0aAjXUe2oH+xAP20aW6z4edhohxq2S9xB2nY0= Date: Sat, 16 Mar 2019 16:35:50 +0000 From: Jonathan Cameron To: Tomasz Duszynski Cc: Arnd Bergmann , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: pms7003: sleect IIO_TRIGGERED_BUFFER Message-ID: <20190316163550.5eeee40a@archlinux> In-Reply-To: <20190314172733.GA23693@arch> References: <20190314090118.312040-1-arnd@arndb.de> <20190314172733.GA23693@arch> X-Mailer: Claws Mail 3.17.3 (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 Thu, 14 Mar 2019 18:27:35 +0100 Tomasz Duszynski wrote: > On Thu, Mar 14, 2019 at 10:00:52AM +0100, Arnd Bergmann wrote: > > Without IIO_TRIGGERED_BUFFER, this driver fails to link: > > Good catch, thanks (btw, perhaps typo in subject can be fixed before > applying patch). > > Acked-by: Tomasz Duszynski Applied to the fixes-togreg branch of iio.git with the typo fixed. Thanks! Jonathan > > > > > drivers/iio/chemical/pms7003.o: In function `pms7003_probe': > > pms7003.c:(.text+0x21c): undefined reference to `devm_iio_triggered_buffer_setup' > > pms7003.c:(.text+0x21c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_iio_triggered_buffer_setup' > > > > Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor") > > Signed-off-by: Arnd Bergmann > > --- > > drivers/iio/chemical/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig > > index d5d146e9e372..6f253092a523 100644 > > --- a/drivers/iio/chemical/Kconfig > > +++ b/drivers/iio/chemical/Kconfig > > @@ -64,6 +64,7 @@ config IAQCORE > > config PMS7003 > > tristate "Plantower PMS7003 particulate matter sensor" > > depends on SERIAL_DEV_BUS > > + select IIO_TRIGGERED_BUFFER > > help > > Say Y here to build support for the Plantower PMS7003 particulate > > matter sensor. > > -- > > 2.20.0 > >