aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2025-02-08 02:50:13 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-15 21:16:21 +0900
commit59d60d26a58be75e9e3b813104c2dfd3b58eb662 (patch)
treead8fb7559b010a61633bc0fd0e72e5792707277b /net/core/lock_debug.c
parentkconfig: remove unnecessary cast in sym_get_string() (diff)
downloadwireguard-linux-59d60d26a58be75e9e3b813104c2dfd3b58eb662.tar.xz
wireguard-linux-59d60d26a58be75e9e3b813104c2dfd3b58eb662.zip
modpost: introduce get_basename() helper
The logic to retrieve the basename appears multiple times. Factor out the common pattern into a helper function. I copied kbasename() from include/linux/string.h and renamed it to get_basename(). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions