On 6/29/2023 1:29 AM, lon...@linuxonhyperv.com wrote: > From: Stephen Hemminger <step...@networkplumber.org> > > Found by cppcheck. > > drivers/net/netvsc/hn_rndis.c:332:21: warning: Found calculation inside > sizeof(). [sizeofCalculation] if (len < sizeof(3 * sizeof(uint32_t))) { > > Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > Signed-off-by: Long Li <lon...@microsoft.com> >
Applied to dpdk-next-net/main, thanks.