diff options
| author | Yang Yingliang <[email protected]> | 2022-09-14 22:00:59 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-09-19 17:58:40 -0700 |
| commit | 46ff47bc81b4f2eaddaf5e6744f88f86c9eb7946 (patch) | |
| tree | c63b13759a02cea5d2c081c23c6590701556e6a7 /tools/perf/scripts/python/stat-cpi.py | |
| parent | f3dcb3ed8e4d011287c309f8028a1129ea6d1c86 (diff) | |
net/mlx5e: add missing error code in error path
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 <[email protected]>
Acked-by: Saeed Mahameed <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions