On 14 Sep 22:00, Yang Yingliang wrote:
Add missing error code when mlx5e_macsec_fs_add_rule() or mlx5e_macsec_fs_init() fails. mlx5e_macsec_fs_init() don't return ERR_PTR(), so replace IS_ERR_OR_NULL() check with NULL pointer check. Fixes: e467b283ffd5 ("net/mlx5e: Add MACsec TX steering rules") Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> --- v2: Replace IS_ERR_OR_NULL() check with NULL pointer check. ---
Acked-by: Saeed Mahameed <saeedm@xxxxxxxxxx> netdev maintainers please apply directly. Thanks.