public inbox for damon@lists.linux.dev
 help / color / mirror / Atom feed
From: SeongJae Park <sj@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: SeongJae Park <sj@kernel.org>,
	oe-kbuild-all@lists.linux.dev, damon@lists.linux.dev
Subject: Re: [sj:damon/next 30/144] mm/damon/core.c:1693:25: warning: zero-length gnu_printf format string
Date: Sun, 22 Feb 2026 09:17:26 -0800	[thread overview]
Message-ID: <20260222171727.133222-1-sj@kernel.org> (raw)
In-Reply-To: <202602221352.odZW8x1R-lkp@intel.com>

On Sun, 22 Feb 2026 13:48:19 +0800 kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
> head:   4ac50a8b182685ab2e9f2ff9411ce5c0ef3af0ac
> commit: ebbed03fc342824e63925232c8dc4ea55e54e2a3 [30/144] mm/damon/core: add damon_reset_aggregated() debug_sanity check
> config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260222/202602221352.odZW8x1R-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 15.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260222/202602221352.odZW8x1R-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202602221352.odZW8x1R-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
>    In file included from arch/m68k/include/asm/bug.h:32,
>                     from include/linux/bug.h:5,
>                     from include/linux/thread_info.h:13,
>                     from include/asm-generic/preempt.h:5,
>                     from ./arch/m68k/include/generated/asm/preempt.h:1,
>                     from include/linux/preempt.h:79,
>                     from arch/m68k/include/asm/processor.h:11,
>                     from include/linux/sched.h:13,
>                     from include/linux/cgroup.h:12,
>                     from include/linux/memcontrol.h:13,
>                     from include/linux/damon.h:11,
>                     from mm/damon/core.c:10:
>    mm/damon/core.c: In function 'damon_verify_reset_aggregated':
> >> mm/damon/core.c:1693:25: warning: zero-length gnu_printf format string [-Wformat-zero-length]
>     1693 |         WARN_ONCE(true, "");
>          |                         ^~
>    include/asm-generic/bug.h:142:62: note: in definition of macro '__WARN_printf'
>      142 |                 warn_slowpath_fmt(__FILE__, __LINE__, taint, arg);      \
>          |                                                              ^~~
>    include/linux/once_lite.h:31:25: note: in expansion of macro 'WARN'
>       31 |                         func(__VA_ARGS__);                              \
>          |                         ^~~~
>    include/asm-generic/bug.h:185:9: note: in expansion of macro 'DO_ONCE_LITE_IF'
>      185 |         DO_ONCE_LITE_IF(condition, WARN, 1, format)
>          |         ^~~~~~~~~~~~~~~
>    mm/damon/core.c:1693:9: note: in expansion of macro 'WARN_ONCE'
>     1693 |         WARN_ONCE(true, "");
>          |         ^~~~~~~~~

Thank you for this report!  I just pushed a fix to damon/next.


Thanks,
SJ

[...]

           reply	other threads:[~2026-02-22 17:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <202602221352.odZW8x1R-lkp@intel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260222171727.133222-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=damon@lists.linux.dev \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox