[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKv+Gu8qYUFXC0phE-GfB7DPyRwun9+eiM5taf9x9jtk8CMijg@mail.gmail.com>
Date: Thu, 11 Jan 2018 10:38:17 +0000
From: Ard Biesheuvel <ard.biesheuvel@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: "David S . Miller" <davem@...emloft.net>,
Jassi Brar <jaswinder.singh@...aro.org>,
"<netdev@...r.kernel.org>" <netdev@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [net-next] net: socionext: include linux/io.h to fix build
On 11 January 2018 at 10:36, Arnd Bergmann <arnd@...db.de> wrote:
> I ran into a randconfig build failure:
>
> drivers/net/ethernet/socionext/netsec.c: In function 'netsec_probe':
> drivers/net/ethernet/socionext/netsec.c:1583:17: error: implicit declaration of function 'devm_ioremap'; did you mean 'ioremap'? [-Werror=implicit-function-declaration]
>
> Including linux/io.h directly fixes this.
>
> Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec driver")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Thanks for fixing this. This is the same issue spotted by kbuild test robot.
Acked-by: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> ---
> drivers/net/ethernet/socionext/netsec.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/socionext/netsec.c b/drivers/net/ethernet/socionext/netsec.c
> index a8edcf387bba..af47147dd656 100644
> --- a/drivers/net/ethernet/socionext/netsec.c
> +++ b/drivers/net/ethernet/socionext/netsec.c
> @@ -8,6 +8,7 @@
> #include <linux/of_mdio.h>
> #include <linux/etherdevice.h>
> #include <linux/interrupt.h>
> +#include <linux/io.h>
>
> #include <net/tcp.h>
> #include <net/ip6_checksum.h>
> --
> 2.9.0
>
Powered by blists - more mailing lists