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: <9fb1b928-33d5-dfb1-6699-86b27d87e15e@wedev4u.fr>
Date:   Thu, 27 Apr 2017 16:46:50 +0200
From:   Cyrille Pitchen <cyrille.pitchen@...ev4u.fr>
To:     Arnd Bergmann <arnd@...db.de>, Marek Vasut <marek.vasut@...il.com>
Cc:     Boris Brezillon <boris.brezillon@...e-electrons.com>,
        Alexandre Torgue <alexandre.torgue@...com>,
        Richard Weinberger <richard@....at>,
        linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Brian Norris <computersforpeace@...il.com>,
        David Woodhouse <dwmw2@...radead.org>,
        Ludovic Barre <ludovic.barre@...com>
Subject: Re: [PATCH] mtd: spi-nor: stm32: remove broken MODULE_ALIAS

Le 27/04/2017 à 13:09, Arnd Bergmann a écrit :
> The MODULE_ALIAS statement refers to a macro that has never been defined
> in this driver, causing a build error:
> 
> drivers/mtd/spi-nor/stm32-quadspi.c:694:150: error: expected ',' or ';' before 'DRIVER_NAME'
> 
> Unless there is a specific alias we need other then the driver name,
> we don't need an alias here and can simply remove the line to fix the
> build.
> 
> Fixes: dc5e400611c5 ("mtd: spi-nor: add driver for STM32 quad spi flash controller")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>

Acked-by: Cyrille Pitchen <cyrille.pitchen@...ev4u.fr>

Thanks!

> ---
>  drivers/mtd/spi-nor/stm32-quadspi.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/spi-nor/stm32-quadspi.c b/drivers/mtd/spi-nor/stm32-quadspi.c
> index 90d9152ddf98..1056e7408d2a 100644
> --- a/drivers/mtd/spi-nor/stm32-quadspi.c
> +++ b/drivers/mtd/spi-nor/stm32-quadspi.c
> @@ -691,7 +691,6 @@ static struct platform_driver stm32_qspi_driver = {
>  };
>  module_platform_driver(stm32_qspi_driver);
>  
> -MODULE_ALIAS("platform:" DRIVER_NAME);
>  MODULE_AUTHOR("Ludovic Barre <ludovic.barre@...com>");
>  MODULE_DESCRIPTION("STMicroelectronics STM32 quad spi driver");
>  MODULE_LICENSE("GPL v2");
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ