Commit b26b6449 authored by Yan Zhen's avatar Yan Zhen Committed by Jakub Kicinski
Browse files

net: openvswitch: Use ERR_CAST() to return



Using ERR_CAST() is more reasonable and safer, When it is necessary
to convert the type of an error pointer and return it.

Signed-off-by: default avatarYan Zhen <yanzhen@vivo.com>
Acked-by: default avatarEelco Chaudron <echaudro@redhat.com>
Reviewed-by: default avatarAaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/20240829095509.3151987-1-yanzhen@vivo.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f24f966f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment