From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0C1B7A for ; Sat, 11 Jun 2022 14:10:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51FFAC34116; Sat, 11 Jun 2022 14:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654956610; bh=lIxJ3iJVM+1p7CtplUeJSv9W5eDu2M7fwRokuvhwC4Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dtQ5fTpbGGAyoh5JcVae0m8IhNrijJxO79uHxDsYGXPOBNCOLHeYK5EqRI4RSdPMZ dSjcEppeh8XDwmPNd9cfChgrlLjm+xCEkaemXLNf3KaA9MYMRwDh9hJMq6asx3CFoZ v0ju5Vk0Vwm9RDX4JYzBNT45l/qHJOKsQVIlQ4W41ierKjQu6HUeft4eC2Z2PCRoVP nG0sSUmZopFMR5w1GnIly7xOexoTJ+7y0f1wHQKPtRY1c8go5oTZBiubaQlN77tplr WOzyVUWsVn3h5gRK4aINYcqlOvyNoXIV41Swcd7l9znGA36nrrYBKcVULE90UjS4E6 gan5PLmqtrofQ== Date: Sat, 11 Jun 2022 15:19:09 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , , , , Lad Prabhakar , , , , , , Cai Huoqing , Benjamin Fair , Jishnu Prakash , "Linus Walleij" , Lars-Peter Clausen , Alexandre Torgue , Amit Kucheria , Andy Gross , Michael Hennerich , Haibo Chen , Benson Leung , "Rafael J. Wysocki" , "Alexandre Belloni" , Christophe Branchereau , Patrick Venture , Arnd Bergmann , Nancy Yuen , Sascha Hauer , Daniel Lezcano , "Gwendal Grignou" , Saravanan Sekar , "Tali Perry" , Maxime Coquelin , Paul Cercueil , Thara Gopinath , Avi Fishman , "Lorenzo Bianconi" , Claudiu Beznea , Pengutronix Kernel Team , Andy Shevchenko , Fabrice Gasnier , Matthias Brugger , Tomer Maimon , Bjorn Andersson , "Nicolas Ferre" , Zhang Rui , Shawn Guo , "Guenter Roeck" , Fabio Estevam , "Olivier Moysan" , Eugen Hristev , Miquel Raynal Subject: Re: [PATCH 14/34] iio: dac: vf610_dac: explicitly add proper header files Message-ID: <20220611151909.76f55ea2@jic23-huawei> In-Reply-To: <20220610084545.547700-15-nuno.sa@analog.com> References: <20220610084545.547700-1-nuno.sa@analog.com> <20220610084545.547700-15-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 10 Jun 2022 10:45:25 +0200 Nuno S=C3=A1 wrote: > Do not trust the fact that iio.h includes of.h which in turn includes > all the headers we are relying on. >=20 > The ultimate goal is to actually drop of.h from iio.h. >=20 > Signed-off-by: Nuno S=C3=A1 Applied. > --- > drivers/iio/dac/vf610_dac.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/iio/dac/vf610_dac.c b/drivers/iio/dac/vf610_dac.c > index 92429c0d2685..fc182250c622 100644 > --- a/drivers/iio/dac/vf610_dac.c > +++ b/drivers/iio/dac/vf610_dac.c > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include > #include > #include > #include From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7545C433EF for ; Sat, 11 Jun 2022 14:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0Snlbh8yxUDk9qJbjuc5tA/jRIVwyxcaHIpH2jLEpxo=; b=fqz80+dGZ9kK3I 1GvAPtpQXiYI7vEIoeQjZ3GBgAYCJs8cRzkQikVEm52FR42LSqW1ocjmHcGwZhLJv+EecMpRKh8+G JlJLfCvmbgioH/L9LPVNXAfE4CUYufaxIGelv/kUjX1HDiwmTDxAn1s8VUGol287EHQ8p+4+arIkj xw6DRVTW+nQAA2Vdnrnxg0NW+rcMdTDz1mzmf1CF3vGQ/LnZ8fsLIp1DydY2cdSPlc+ZEu2xT/UUM mzQ9OpXy6w+SfRl0QmiTEfCnJV7d1+LPjR44xsRHYZKBwMnPoAUJ/dNSVNCNyG2uaQ91kwMrjgO63 bX1t8JRZ9nDE/udEPCpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o01oc-00DDiB-Gd; Sat, 11 Jun 2022 14:10:14 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o01oZ-00DDhS-PC; Sat, 11 Jun 2022 14:10:13 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 376F160F30; Sat, 11 Jun 2022 14:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51FFAC34116; Sat, 11 Jun 2022 14:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654956610; bh=lIxJ3iJVM+1p7CtplUeJSv9W5eDu2M7fwRokuvhwC4Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dtQ5fTpbGGAyoh5JcVae0m8IhNrijJxO79uHxDsYGXPOBNCOLHeYK5EqRI4RSdPMZ dSjcEppeh8XDwmPNd9cfChgrlLjm+xCEkaemXLNf3KaA9MYMRwDh9hJMq6asx3CFoZ v0ju5Vk0Vwm9RDX4JYzBNT45l/qHJOKsQVIlQ4W41ierKjQu6HUeft4eC2Z2PCRoVP nG0sSUmZopFMR5w1GnIly7xOexoTJ+7y0f1wHQKPtRY1c8go5oTZBiubaQlN77tplr WOzyVUWsVn3h5gRK4aINYcqlOvyNoXIV41Swcd7l9znGA36nrrYBKcVULE90UjS4E6 gan5PLmqtrofQ== Date: Sat, 11 Jun 2022 15:19:09 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , , , , Lad Prabhakar , , , , , , Cai Huoqing , Benjamin Fair , Jishnu Prakash , "Linus Walleij" , Lars-Peter Clausen , Alexandre Torgue , Amit Kucheria , Andy Gross , Michael Hennerich , Haibo Chen , Benson Leung , "Rafael J. Wysocki" , "Alexandre Belloni" , Christophe Branchereau , Patrick Venture , Arnd Bergmann , Nancy Yuen , Sascha Hauer , Daniel Lezcano , "Gwendal Grignou" , Saravanan Sekar , "Tali Perry" , Maxime Coquelin , Paul Cercueil , Thara Gopinath , Avi Fishman , "Lorenzo Bianconi" , Claudiu Beznea , Pengutronix Kernel Team , Andy Shevchenko , Fabrice Gasnier , Matthias Brugger , Tomer Maimon , Bjorn Andersson , "Nicolas Ferre" , Zhang Rui , Shawn Guo , "Guenter Roeck" , Fabio Estevam , "Olivier Moysan" , Eugen Hristev , Miquel Raynal Subject: Re: [PATCH 14/34] iio: dac: vf610_dac: explicitly add proper header files Message-ID: <20220611151909.76f55ea2@jic23-huawei> In-Reply-To: <20220610084545.547700-15-nuno.sa@analog.com> References: <20220610084545.547700-1-nuno.sa@analog.com> <20220610084545.547700-15-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_071011_935583_30D28109 X-CRM114-Status: GOOD ( 13.64 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org T24gRnJpLCAxMCBKdW4gMjAyMiAxMDo0NToyNSArMDIwMApOdW5vIFPDoSA8bnVuby5zYUBhbmFs b2cuY29tPiB3cm90ZToKCj4gRG8gbm90IHRydXN0IHRoZSBmYWN0IHRoYXQgaWlvLmggaW5jbHVk ZXMgb2YuaCB3aGljaCBpbiB0dXJuIGluY2x1ZGVzCj4gYWxsIHRoZSBoZWFkZXJzIHdlIGFyZSBy ZWx5aW5nIG9uLgo+IAo+IFRoZSB1bHRpbWF0ZSBnb2FsIGlzIHRvIGFjdHVhbGx5IGRyb3Agb2Yu aCBmcm9tIGlpby5oLgo+IAo+IFNpZ25lZC1vZmYtYnk6IE51bm8gU8OhIDxudW5vLnNhQGFuYWxv Zy5jb20+CkFwcGxpZWQuCgo+IC0tLQo+ICBkcml2ZXJzL2lpby9kYWMvdmY2MTBfZGFjLmMgfCAx ICsKPiAgMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspCj4gCj4gZGlmZiAtLWdpdCBhL2Ry aXZlcnMvaWlvL2RhYy92ZjYxMF9kYWMuYyBiL2RyaXZlcnMvaWlvL2RhYy92ZjYxMF9kYWMuYwo+ IGluZGV4IDkyNDI5YzBkMjY4NS4uZmMxODIyNTBjNjIyIDEwMDY0NAo+IC0tLSBhL2RyaXZlcnMv aWlvL2RhYy92ZjYxMF9kYWMuYwo+ICsrKyBiL2RyaXZlcnMvaWlvL2RhYy92ZjYxMF9kYWMuYwo+ IEBAIC0xMCw2ICsxMCw3IEBACj4gICNpbmNsdWRlIDxsaW51eC9pbnRlcnJ1cHQuaD4KPiAgI2lu Y2x1ZGUgPGxpbnV4L2lvLmg+Cj4gICNpbmNsdWRlIDxsaW51eC9rZXJuZWwuaD4KPiArI2luY2x1 ZGUgPGxpbnV4L21vZF9kZXZpY2V0YWJsZS5oPgo+ICAjaW5jbHVkZSA8bGludXgvbW9kdWxlLmg+ Cj4gICNpbmNsdWRlIDxsaW51eC9wbGF0Zm9ybV9kZXZpY2UuaD4KPiAgI2luY2x1ZGUgPGxpbnV4 L3JlZ3VsYXRvci9jb25zdW1lci5oPgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fCkxpbnV4LW1lZGlhdGVrIG1haWxpbmcgbGlzdApMaW51eC1tZWRpYXRl a0BsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRlYWQub3JnL21haWxtYW4v bGlzdGluZm8vbGludXgtbWVkaWF0ZWsK From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06084C43334 for ; Thu, 16 Jun 2022 02:35:29 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LNmVl3bhcz3fND for ; Thu, 16 Jun 2022 12:35:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=dtQ5fTpb; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=jic23@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=dtQ5fTpb; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4LL08j1hs9z3bfb for ; Sun, 12 Jun 2022 00:10:13 +1000 (AEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 376F160F30; Sat, 11 Jun 2022 14:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51FFAC34116; Sat, 11 Jun 2022 14:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654956610; bh=lIxJ3iJVM+1p7CtplUeJSv9W5eDu2M7fwRokuvhwC4Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dtQ5fTpbGGAyoh5JcVae0m8IhNrijJxO79uHxDsYGXPOBNCOLHeYK5EqRI4RSdPMZ dSjcEppeh8XDwmPNd9cfChgrlLjm+xCEkaemXLNf3KaA9MYMRwDh9hJMq6asx3CFoZ v0ju5Vk0Vwm9RDX4JYzBNT45l/qHJOKsQVIlQ4W41ierKjQu6HUeft4eC2Z2PCRoVP nG0sSUmZopFMR5w1GnIly7xOexoTJ+7y0f1wHQKPtRY1c8go5oTZBiubaQlN77tplr WOzyVUWsVn3h5gRK4aINYcqlOvyNoXIV41Swcd7l9znGA36nrrYBKcVULE90UjS4E6 gan5PLmqtrofQ== Date: Sat, 11 Jun 2022 15:19:09 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Subject: Re: [PATCH 14/34] iio: dac: vf610_dac: explicitly add proper header files Message-ID: <20220611151909.76f55ea2@jic23-huawei> In-Reply-To: <20220610084545.547700-15-nuno.sa@analog.com> References: <20220610084545.547700-1-nuno.sa@analog.com> <20220610084545.547700-15-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 16 Jun 2022 12:05:37 +1000 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Daniel Lezcano , Tomer Maimon , "Rafael J. Wysocki" , linux-iio@vger.kernel.org, Linus Walleij , Amit Kucheria , Alexandre Torgue , Tali Perry , Paul Cercueil , Miquel Raynal , Guenter Roeck , Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, chrome-platform@lists.linux.dev, Lars-Peter Clausen , Benjamin Fair , openbmc@lists.ozlabs.org, Jishnu Prakash , Haibo Chen , Andy Shevchenko , Andy Gross , linux-imx@nxp.com, Olivier Moysan , Zhang Rui , Christophe Branchereau , Saravanan Sekar , Michael Hennerich , linux-arm-msm@vger.kernel.org, Sascha Hauer , Nicolas Ferre , Lad Prabhakar , Fabrice Gasnier , linux-mediatek@lists.infradead.org, Eugen Hristev , Matthias Brugger , Gwendal Grignou , Bjorn Andersson , Benson Leung , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Lorenzo Bianconi , Avi Fishman , Patrick Venture , linux-mips@vger.kernel.org, Thara Gopinath , linux-renesas-soc@vger.kernel.org, Arnd Bergmann , Maxime Coquelin , Cai Huoqing , Shawn Guo , Claudiu Beznea Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Fri, 10 Jun 2022 10:45:25 +0200 Nuno S=C3=A1 wrote: > Do not trust the fact that iio.h includes of.h which in turn includes > all the headers we are relying on. >=20 > The ultimate goal is to actually drop of.h from iio.h. >=20 > Signed-off-by: Nuno S=C3=A1 Applied. > --- > drivers/iio/dac/vf610_dac.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/iio/dac/vf610_dac.c b/drivers/iio/dac/vf610_dac.c > index 92429c0d2685..fc182250c622 100644 > --- a/drivers/iio/dac/vf610_dac.c > +++ b/drivers/iio/dac/vf610_dac.c > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include > #include > #include > #include