summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-25 18:51:56 +0300
committerTakashi Iwai <tiwai@suse.de>2026-01-27 11:58:37 +0300
commitbfa514c4613b39e536d4a9dfbcb8eb8e68776343 (patch)
treee82504f453492b8c03805ef3fde4ef1ba19269cc /include/linux/debugobjects.h
parentcc051fbd7f40226cc407558bc97c5099513e8657 (diff)
downloadlinux-bfa514c4613b39e536d4a9dfbcb8eb8e68776343.tar.xz
ALSA: jack: Improve string handling in jack_kctl_name_gen
If appending " Jack" is not necessary, replace snprintf("%s", ...) with the faster strscpy(). Additionally, rename 'need_cat' to the clearer 'append_suf', use local variables for the suffix and its length, remove the confusing comment, compare strncmp() to 0, and use 'size_t' for the 'size' function parameter. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260125155159.98720-1-thorsten.blum@linux.dev Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions