aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-08-08 05:25:10 -0700
committerPaolo Abeni <pabeni@redhat.com>2024-08-13 10:58:58 +0200
commitf2ab4c1a9288774b1f9c102f0cb1b478965169bb (patch)
tree318111255d830ba26a5f012b75245ff8a3b911af /drivers/net/ethernet/intel/igc/igc_main.c
parent5c4a39e8a608a0f0afa2710f469432e5bfce4562 (diff)
net: netconsole: Unify Function Return Paths
The return flow in netconsole's dynamic functions is currently inconsistent. This patch aims to streamline and standardize the process by ensuring that the mutex is unlocked before returning the ret value. Additionally, this update includes a minor functional change where certain strnlen() operations are performed with the dynamic_netconsole_mutex locked. This adjustment is not anticipated to cause any issues, however, it is crucial to document this change for clarity. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions