summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChoong Yong Liang <yong.liang.choong@linux.intel.com>2025-03-10 08:08:35 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-17 23:09:22 +0300
commit38f13bf801303a38316a12e06dbfc6fdc410f8ed (patch)
tree84ae3045bcb33837d977fb71504f1d7fdc06dbfe /net/lapb/lapb_subr.c
parentf2972ea1627a6a3ef57caf350e84c2ba686c6b4c (diff)
downloadlinux-38f13bf801303a38316a12e06dbfc6fdc410f8ed.tar.xz
stmmac: intel: Fix warning message for return value in intel_tsn_lane_is_available()
Fix the warning "warn: missing error code? 'ret'" in the intel_tsn_lane_is_available() function. The function now returns 0 to indicate that a TSN lane was found and returns -EINVAL when it is not found. Fixes: a42f6b3f1cc1 ("net: stmmac: configure SerDes according to the interface mode") Signed-off-by: Choong Yong Liang <yong.liang.choong@linux.intel.com> Reviewed-by: Kory Maincent <kory.maincent@bootlin.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250310050835.808870-1-yong.liang.choong@linux.intel.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions