aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorSaeed Mahameed <[email protected]>2020-05-04 15:52:14 -0700
committerSaeed Mahameed <[email protected]>2020-07-09 19:51:16 -0700
commit2acc4551d412607d23fd392d819f3b5bd320de48 (patch)
treec001855f77a0c99c82ff012ba73a9aa729a84e19 /lib/test_overflow.c
parentd12f4521d3eff83206a0bb4a9135252ffbf1c3b5 (diff)
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 <[email protected]> Suggested-by: Jason Gunthorpe <[email protected]> Reviewed-by: Roi Dayan <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions