The quilt patch titled Subject: mm: add printf attribute to shrinker_debugfs_name_alloc has been removed from the -mm tree. Its filename was mm-add-printf-attribute-to-shrinker_debugfs_name_alloc.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Lucy Mielke <lucymielke@xxxxxxxxxx> Subject: mm: add printf attribute to shrinker_debugfs_name_alloc Date: Fri, 6 Oct 2023 22:30:51 +0200 This fixes a compiler warning when compiling an allyesconfig with W=1: mm/internal.h:1235:9: error: function might be a candidate for `gnu_printf' format attribute [-Werror=suggest-attribute=format] [akpm@xxxxxxxxxxxxxxxxxxxx: fix shrinker_alloc() as welll per Qi Zheng] Link: https://lkml.kernel.org/r/822387b7-4895-4e64-5806-0f56b5d6c447@xxxxxxxxxxxxx Link: https://lkml.kernel.org/r/ZSBue-3kM6gI6jCr@mainframe Fixes: c42d50aefd17 ("mm: shrinker: add infrastructure for dynamically allocating shrinker") Signed-off-by: Lucy Mielke <lucymielke@xxxxxxxxxx> Cc: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/shrinker.h | 1 + mm/internal.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) --- a/include/linux/shrinker.h~mm-add-printf-attribute-to-shrinker_debugfs_name_alloc +++ a/include/linux/shrinker.h @@ -131,6 +131,7 @@ struct shrinker { */ #define SHRINKER_NONSLAB BIT(4) +__printf(2, 3) struct shrinker *shrinker_alloc(unsigned int flags, const char *fmt, ...); void shrinker_register(struct shrinker *shrinker); void shrinker_free(struct shrinker *shrinker); --- a/mm/internal.h~mm-add-printf-attribute-to-shrinker_debugfs_name_alloc +++ a/mm/internal.h @@ -1219,8 +1219,8 @@ unsigned long shrink_slab(gfp_t gfp_mask int priority); #ifdef CONFIG_SHRINKER_DEBUG -static inline int shrinker_debugfs_name_alloc(struct shrinker *shrinker, - const char *fmt, va_list ap) +static inline __printf(2, 0) int shrinker_debugfs_name_alloc( + struct shrinker *shrinker, const char *fmt, va_list ap) { shrinker->name = kvasprintf_const(GFP_KERNEL, fmt, ap); _ Patches currently in -mm which might be from lucymielke@xxxxxxxxxx are