Re: [PATCH -next v2 1/2] net/mlx5e: add missing error code in error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux