[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250611173433.430c8eb4@jic23-huawei>
Date: Wed, 11 Jun 2025 17:34:33 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
Cc: Antonio Borneo <antonio.borneo@...s.st.com>, Alexandre Torgue
<alexandre.torgue@...s.st.com>, Andy Shevchenko <andy@...nel.org>, "David
Lechner" <dlechner@...libre.com>, Gatien Chevallier
<gatien.chevallier@...s.st.com>, "Lee Jones" <lee@...nel.org>,
<linux-iio@...r.kernel.org>, Nuno Sá <nuno.sa@...log.com>,
Olivier Moysan <olivier.moysan@...s.st.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>, Maxime Coquelin
<mcoquelin.stm32@...il.com>
Subject: Re: [PATCH 2/5] iio: adc: stm32-dfsdm: Fix build warnings about
export.h
On Tue, 10 Jun 2025 15:05:16 +0200
Fabrice Gasnier <fabrice.gasnier@...s.st.com> wrote:
> On 6/10/25 14:48, Antonio Borneo wrote:
> > After commit a934a57a42f6 ("scripts/misc-check: check missing #include
> > <linux/export.h> when W=1") and commit 7d95680d64ac ("scripts/misc-check:
> > check unnecessary #include <linux/export.h> when W=1") we get the build
> > warnings with W=1:
> >
> > drivers/iio/adc/stm32-dfsdm-adc.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
> > drivers/iio/adc/stm32-dfsdm-core.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
> >
> > Fix them.
> >
> > Signed-off-by: Antonio Borneo <antonio.borneo@...s.st.com>
>
> Hi Antonio,
>
> You can add my:
> Acked-by: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
Applied to the togreg branch of iio.git.
Ta.
>
> Thanks,
> Fabrice
> > ---
> > drivers/iio/adc/stm32-dfsdm-adc.c | 1 +
> > drivers/iio/adc/stm32-dfsdm-core.c | 1 +
> > 2 files changed, 2 insertions(+)
> >
> > diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c
> > index f583924eb16bb..c2d21eecafe79 100644
> > --- a/drivers/iio/adc/stm32-dfsdm-adc.c
> > +++ b/drivers/iio/adc/stm32-dfsdm-adc.c
> > @@ -8,6 +8,7 @@
> >
> > #include <linux/dmaengine.h>
> > #include <linux/dma-mapping.h>
> > +#include <linux/export.h>
> > #include <linux/iio/adc/stm32-dfsdm-adc.h>
> > #include <linux/iio/backend.h>
> > #include <linux/iio/buffer.h>
> > diff --git a/drivers/iio/adc/stm32-dfsdm-core.c b/drivers/iio/adc/stm32-dfsdm-core.c
> > index 041dc9ebc0482..47e2d1338e9e6 100644
> > --- a/drivers/iio/adc/stm32-dfsdm-core.c
> > +++ b/drivers/iio/adc/stm32-dfsdm-core.c
> > @@ -8,6 +8,7 @@
> >
> > #include <linux/bitfield.h>
> > #include <linux/clk.h>
> > +#include <linux/export.h>
> > #include <linux/iio/iio.h>
> > #include <linux/iio/sysfs.h>
> > #include <linux/interrupt.h>
Powered by blists - more mailing lists