The patch titled Subject: mm: swap: use str_true_false() helper function has been added to the -mm mm-unstable branch. Its filename is mm-swap-use-str_true_false-helper-function.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-swap-use-str_true_false-helper-function.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Thorsten Blum <thorsten.blum@xxxxxxxxx> Subject: mm: swap: use str_true_false() helper function Date: Wed, 16 Oct 2024 16:10:41 +0200 Remove hard-coded strings by using the helper function str_true_false(). Link: https://lkml.kernel.org/r/20241016141040.79168-2-thorsten.blum@xxxxxxxxx Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swap_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/mm/swap_state.c~mm-swap-use-str_true_false-helper-function +++ a/mm/swap_state.c @@ -889,8 +889,7 @@ struct folio *swapin_readahead(swp_entry static ssize_t vma_ra_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { - return sysfs_emit(buf, "%s\n", - enable_vma_readahead ? "true" : "false"); + return sysfs_emit(buf, "%s\n", str_true_false(enable_vma_readahead)); } static ssize_t vma_ra_enabled_store(struct kobject *kobj, struct kobj_attribute *attr, _ Patches currently in -mm which might be from thorsten.blum@xxxxxxxxx are mm-swap-use-str_true_false-helper-function.patch ipc-msg-replace-one-element-array-with-flexible-array-member.patch