1bcb5ecb17
drivers/net/nfp/nfp_net.c:669:2: error:
‘memcpy’ forming offset [5, 6] is out of the bounds [0, 4]
of object ‘tmp’ with type ‘uint32_t’ {aka ‘unsigned int’}
[-Werror=array-bounds]
memcpy(&hw->mac_addr[0], &tmp, sizeof(struct ether_addr));
Fixes:
|
||
---|---|---|
.. | ||
nfpcore | ||
Makefile | ||
nfp_net_ctrl.h | ||
nfp_net_logs.h | ||
nfp_net_pmd.h | ||
nfp_net.c | ||
rte_pmd_nfp_version.map |