[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162850380570.4301.2549596232050862056.git-patchwork-notify@kernel.org>
Date: Mon, 09 Aug 2021 10:10:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Joakim Zhang <qiangqing.zhang@....com>
Cc: davem@...emloft.net, kuba@...nel.org, groeck7@...il.com,
netdev@...r.kernel.org, linux-imx@....com
Subject: Re: [PATCH net-next] net: fec: fix build error for ARCH m68k
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Mon, 9 Aug 2021 12:29:21 +0800 you wrote:
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> make.cross ARCH=m68k m5272c3_defconfig
> make.cross ARCH=m68k
>
> drivers/net/ethernet/freescale/fec_main.c: In function 'fec_enet_eee_mode_set':
> >> drivers/net/ethernet/freescale/fec_main.c:2758:33: error: 'FEC_LPI_SLEEP' undeclared (first use in this function); did you mean 'FEC_ECR_SLEEP'?
> 2758 | writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
> | ^~~~~~~~~~~~~
> arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
> 25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
> | ^~~~
> drivers/net/ethernet/freescale/fec_main.c:2758:2: note: in expansion of macro 'writel'
> 2758 | writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
> | ^~~~~~
> drivers/net/ethernet/freescale/fec_main.c:2758:33: note: each undeclared identifier is reported only once for each function it appears in
> 2758 | writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
> | ^~~~~~~~~~~~~
> arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
> 25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
> | ^~~~
> drivers/net/ethernet/freescale/fec_main.c:2758:2: note: in expansion of macro 'writel'
> 2758 | writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
> | ^~~~~~
> >> drivers/net/ethernet/freescale/fec_main.c:2759:32: error: 'FEC_LPI_WAKE' undeclared (first use in this function)
> 2759 | writel(wake_cycle, fep->hwp + FEC_LPI_WAKE);
> | ^~~~~~~~~~~~
> arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
> 25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
> | ^~~~
> drivers/net/ethernet/freescale/fec_main.c:2759:2: note: in expansion of macro 'writel'
> 2759 | writel(wake_cycle, fep->hwp + FEC_LPI_WAKE);
> | ^~~~~~
>
> [...]
Here is the summary with links:
- [net-next] net: fec: fix build error for ARCH m68k
https://git.kernel.org/netdev/net-next/c/e08d6d42b6f9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists