summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2020-05-05 01:52:14 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-07-10 05:51:16 +0300
commit2acc4551d412607d23fd392d819f3b5bd320de48 (patch)
treec001855f77a0c99c82ff012ba73a9aa729a84e19 /drivers/rtc/rtc-sh.c
parentd12f4521d3eff83206a0bb4a9135252ffbf1c3b5 (diff)
downloadlinux-2acc4551d412607d23fd392d819f3b5bd320de48.tar.xz
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/rtc/rtc-sh.c')
0 files changed, 0 insertions, 0 deletions