diff options
| author | Yang Yingliang <[email protected]> | 2023-02-17 03:13:01 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2023-02-24 18:13:18 +0000 |
| commit | bfeda9683dcd697dc84bbd5ce375f659e9590bf5 (patch) | |
| tree | 3f6a4a749e9ca50424370a42e11723a5a8170c3a /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | net/mlx5: Remove NULL check before dev_{put, hold} (diff) | |
| download | kernel-bfeda9683dcd697dc84bbd5ce375f659e9590bf5.tar.gz kernel-bfeda9683dcd697dc84bbd5ce375f659e9590bf5.zip | |
net/mlx5e: TC, fix return value check in mlx5e_tc_act_stats_create()
kvzalloc() returns NULL pointer not PTR_ERR() when it fails,
so replace the IS_ERR() check with NULL pointer check.
Fixes: d13674b1d14c ("net/mlx5e: TC, map tc action cookie to a hw counter")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
