b99bd4a0aa
The warning info:
warning: passing argument 1 of ‘memcpy’ discards ‘const’
qualifier from pointer target type
Variable dev_addr is done const intentionally in v5.17 to prevent using
it directly. See the following Linux kernel changeset for details:
commit adeef3e32146 ("net: constify netdev->dev_addr")
Used helper function was introduced earlier in v5.15.
Fixes:
|
||
---|---|---|
.. | ||
compat.h | ||
Kbuild | ||
kni_dev.h | ||
kni_fifo.h | ||
kni_misc.c | ||
kni_net.c | ||
meson.build |