From: kernel test robot <lkp@intel.com>
To: SJ Park <sj@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sj:damon/next 136/167] mm/damon/core.c:1418:2: warning: unannotated fall-through between switch labels
Date: Wed, 02 Sep 2026 22:44:27 +0200 [thread overview]
Message-ID: <202609022203.Jc30tB50-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
head: aeaf89c6296bfe16ada0b791acafc3859ab4e926
commit: 2770a25234fb67de711dfd89751ecb2afc0e654f [136/167] mm/damon/core: commit range_{min,max} for probe hits wsum filter
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20260902/202609022203.Jc30tB50-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609022203.Jc30tB50-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/202609022203.Jc30tB50-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/damon/core.c:1418:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1418 | default:
| ^
mm/damon/core.c:1418:2: note: insert 'break;' to avoid fall-through
1418 | default:
| ^
| break;
1 warning generated.
vim +1418 mm/damon/core.c
63f5dec16760f2c Sang-Heon Jeon 2025-08-10 1398
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1399 static void damos_commit_filter_arg(
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1400 struct damos_filter *dst, struct damos_filter *src)
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1401 {
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1402 switch (dst->type) {
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1403 case DAMOS_FILTER_TYPE_MEMCG:
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1404 dst->memcg_id = src->memcg_id;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1405 break;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1406 case DAMOS_FILTER_TYPE_ADDR:
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1407 dst->addr_range = src->addr_range;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1408 break;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1409 case DAMOS_FILTER_TYPE_TARGET:
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1410 dst->target_idx = src->target_idx;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1411 break;
0431c42622612a9 Usama Arif 2025-02-11 1412 case DAMOS_FILTER_TYPE_HUGEPAGE_SIZE:
0431c42622612a9 Usama Arif 2025-02-11 1413 dst->sz_range = src->sz_range;
0431c42622612a9 Usama Arif 2025-02-11 1414 break;
2770a25234fb67d SJ Park 2026-08-25 1415 case DAMOS_FILTER_TYPE_PROBE_HITS_WSUM:
2770a25234fb67d SJ Park 2026-08-25 1416 dst->range_min = src->range_min;
2770a25234fb67d SJ Park 2026-08-25 1417 dst->range_max = src->range_max;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 @1418 default:
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1419 break;
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1420 }
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1421 }
9cb3d0b9dfce6a3 SJ Park 2024-06-18 1422
:::::: The code at line 1418 was first introduced by commit
:::::: 9cb3d0b9dfce6a3258d91e6d69e418d0b4cce46a mm/damon/core: implement DAMON context commit function
:::::: TO: SeongJae Park <sj@kernel.org>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-02 20:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202609022203.Jc30tB50-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sj@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.