Re: [ovs-dev] [PATCH 2/2] netdev-linux: Fix ethtool_cmd is partly outside array bounds.

2024-05-28 Thread Ilya Maximets
On 5/27/24 13:00, Roi Dayan via dev wrote: > Used Ubuntu with gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 > > lib/netdev-linux.c: In function ‘netdev_linux_construct’: > lib/netdev-linux.c:7003:15: error: array subscript ‘struct ethtool_cmd[0]’ is > partly outside array bounds of ‘union [1]’ [-Werror=ar

[ovs-dev] [PATCH 2/2] netdev-linux: Fix ethtool_cmd is partly outside array bounds.

2024-05-27 Thread Roi Dayan via dev
Used Ubuntu with gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 lib/netdev-linux.c: In function ‘netdev_linux_construct’: lib/netdev-linux.c:7003:15: error: array subscript ‘struct ethtool_cmd[0]’ is partly outside array bounds of ‘union [1]’ [-Werror=array-bounds] 7003 | ecmd->cmd = cmd; |