diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-04 15:52:14 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-07-09 19:51:16 -0700 |
commit | 2acc4551d412607d23fd392d819f3b5bd320de48 (patch) | |
tree | c001855f77a0c99c82ff012ba73a9aa729a84e19 /drivers/virtio | |
parent | net/mlx5e: CT: Expand tunnel register mappings (diff) | |
download | linux-dev-2acc4551d412607d23fd392d819f3b5bd320de48.tar.xz linux-dev-2acc4551d412607d23fd392d819f3b5bd320de48.zip |
net/mlx5e: CT: Return err_ptr from internal functions
Instead of having to deal with converting between int and ERR_PTR for
return values in mlx5_tc_ct_flow_offload(), make the internal helper
functions return a ptr to mlx5_flow_handle instead of passing it as
output param, this will also avoid gcc confusion and false alarms,
thus we remove the redundant ERR_PTR rule initialization.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Suggested-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions