lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ccde5e45-9541-499f-b248-08cd6fad9a19@foss.st.com>
Date: Tue, 10 Jun 2025 15:05:50 +0200
From: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
To: 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>,
        Jonathan Cameron <jic23@...nel.org>, "Lee
 Jones" <lee@...nel.org>,
        <linux-iio@...r.kernel.org>,
        Nuno Sá <nuno.sa@...log.com>,
        Olivier Moysan
	<olivier.moysan@...s.st.com>
CC: <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 4/5] iio: trigger: stm32-lptimer: Fix build warnings about
 export.h



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
> warning with W=1:
> 
> drivers/iio/trigger/stm32-lptimer-trigger.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
> 
> Fix it.
> 
> 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>

Thanks,
Fabrice

> ---
>  drivers/iio/trigger/stm32-lptimer-trigger.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/trigger/stm32-lptimer-trigger.c b/drivers/iio/trigger/stm32-lptimer-trigger.c
> index 2505ace440b46..c7bab18221c70 100644
> --- a/drivers/iio/trigger/stm32-lptimer-trigger.c
> +++ b/drivers/iio/trigger/stm32-lptimer-trigger.c
> @@ -9,6 +9,7 @@
>   * Inspired by Benjamin Gaignard's stm32-timer-trigger driver
>   */
>  
> +#include <linux/export.h>
>  #include <linux/iio/timer/stm32-lptim-trigger.h>
>  #include <linux/mfd/stm32-lptimer.h>
>  #include <linux/mod_devicetable.h>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ