diff options
author | Breno Leitao <leitao@debian.org> | 2024-08-08 05:25:10 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-08-13 10:58:58 +0200 |
commit | f2ab4c1a9288774b1f9c102f0cb1b478965169bb (patch) | |
tree | 318111255d830ba26a5f012b75245ff8a3b911af /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 5c4a39e8a608a0f0afa2710f469432e5bfce4562 (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