ABACI reported the following bug by code static scanning: ./drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:932:27-34: WARNING opportunity for kmemdup. In the following kernel version: [+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git [+]branch: next-20220908 [+]commit: 47c191411b68a771261be3dc0bd6f68394cef358