On Tue, 31 May 2022 09:13:30 +0000 Ke Zhang <ke1x.zh...@intel.com> wrote:
> The warning info: > warning: passing argument 1 of ‘memcpy’ discards ‘const’ > qualifier from pointer target type > > Compulsory type conversion to clear compile warning. > > Signed-off-by: Ke Zhang <ke1x.zh...@intel.com> Agree with other comments, please use eth_hw_addr_set() and eth_hw_addr_random() helpers.