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] [day] [month] [year] [list]
Date:   Fri, 11 Dec 2020 07:26:46 -0800
From:   Guenter Roeck <linux@...ck-us.net>
To:     Geert Uytterhoeven <geert+renesas@...der.be>
Cc:     Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (iio_hwmon) Drop bogus __refdata annotation

On Fri, Dec 11, 2020 at 02:35:12PM +0100, Geert Uytterhoeven wrote:
> As the IIO hardware monitoring driver does not have any code or data
> located in initmem, there is no need to annotate the iio_hwmon_driver
> structure with __refdata.  Drop the annotation, to avoid suppressing
> future section warnings.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/iio_hwmon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c
> index b85a125dd86f46a2..580a7d125b88667b 100644
> --- a/drivers/hwmon/iio_hwmon.c
> +++ b/drivers/hwmon/iio_hwmon.c
> @@ -169,7 +169,7 @@ static const struct of_device_id iio_hwmon_of_match[] = {
>  };
>  MODULE_DEVICE_TABLE(of, iio_hwmon_of_match);
>  
> -static struct platform_driver __refdata iio_hwmon_driver = {
> +static struct platform_driver iio_hwmon_driver = {
>  	.driver = {
>  		.name = "iio_hwmon",
>  		.of_match_table = iio_hwmon_of_match,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ