[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163759380857.16406.12654623998882821582.git-patchwork-notify@kernel.org>
Date: Mon, 22 Nov 2021 15:10:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Arnd Bergmann <arnd@...nel.org>
Cc: davem@...emloft.net, kuba@...nel.org, mdf@...nel.org,
arnd@...db.de, yangyingliang@...wei.com, moyufeng@...wei.com,
tanhuazhong@...wei.com, caihuoqing@...du.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nixge: fix mac address error handling again
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Mon, 22 Nov 2021 16:02:49 +0100 you wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The change to eth_hw_addr_set() caused gcc to correctly spot a
> bug that was introduced in an earlier incorrect fix:
>
> In file included from include/linux/etherdevice.h:21,
> from drivers/net/ethernet/ni/nixge.c:7:
> In function '__dev_addr_set',
> inlined from 'eth_hw_addr_set' at include/linux/etherdevice.h:319:2,
> inlined from 'nixge_probe' at drivers/net/ethernet/ni/nixge.c:1286:3:
> include/linux/netdevice.h:4648:9: error: 'memcpy' reading 6 bytes from a region of size 0 [-Werror=stringop-overread]
> 4648 | memcpy(dev->dev_addr, addr, len);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Here is the summary with links:
- nixge: fix mac address error handling again
https://git.kernel.org/netdev/net/c/a68229ca6340
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