[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162215760364.28406.5788806806240071330.git-patchwork-notify@kernel.org>
Date: Thu, 27 May 2021 23:20:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, kuba@...nel.org, gustavoars@...nel.org,
netdev@...r.kernel.org, sassmann@...hat.com, keescook@...omium.org,
david.switzer@...el.com
Subject: Re: [PATCH net-next 1/1] ixgbe: Fix out-bounds warning in
ixgbe_host_interface_command()
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 27 May 2021 10:34:24 -0700 you wrote:
> From: "Gustavo A. R. Silva" <gustavoars@...nel.org>
>
> Replace union with a couple of pointers in order to fix the following
> out-of-bounds warning:
>
> CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_common.o
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c: In function ‘ixgbe_host_interface_command’:
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:3729:13: warning: array subscript 1 is above array bounds of ‘u32[1]’ {aka ‘unsigned int[1]’} [-Warray-bounds]
> 3729 | bp->u32arr[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi);
> | ~~~~~~~~~~^~~~
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:3682:7: note: while referencing ‘u32arr’
> 3682 | u32 u32arr[1];
> | ^~~~~~
>
> [...]
Here is the summary with links:
- [net-next,1/1] ixgbe: Fix out-bounds warning in ixgbe_host_interface_command()
https://git.kernel.org/netdev/net-next/c/eefa5311c3f7
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