diff options
| author | Roi Dayan <[email protected]> | 2021-05-13 15:00:53 +0300 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-05-18 23:01:26 -0700 |
| commit | fca086617af864efd20289774901221b2df06b39 (patch) | |
| tree | 8e23ab3cc22cc3bd7e8b2231bcf8c9b9af7e0b69 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 442b3d7b671bcb779ebdad46edd08051eb8b28d9 (diff) | |
net/mlx5: Fix err prints and return when creating termination table
Fix print to print correct error code and not using IS_ERR() which
will just result in always printing 1.
Also return real err instead of always -EOPNOTSUPP.
Fixes: 10caabdaad5a ("net/mlx5e: Use termination table for VLAN push actions")
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Maor Dickman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions