From: kernel test robot <lkp@intel.com>
To: SJ Park <sj@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sj:damon/next 37/125] mm/damon/core.c:1839:2: warning: unannotated fall-through between switch labels
Date: Sun, 15 Nov 2026 09:33:12 +0100 [thread overview]
Message-ID: <202611150922.CN5lOX66-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
head: c6e08f98976018ef8823a44dfabbfa444fdc39da
commit: 0e9dffb2f36016e675b02bf66467ef5b4fc8ed63 [37/125] mm/damon/core: introduce DAMON_FILTER_TYPE_REPORT_MADE
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20261115/202611150922.CN5lOX66-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261115/202611150922.CN5lOX66-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/202611150922.CN5lOX66-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/damon/core.c:1839:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1839 | default:
| ^
mm/damon/core.c:1839:2: note: insert 'break;' to avoid fall-through
1839 | default:
| ^
| break;
1 warning generated.
vim +1839 mm/damon/core.c
9641c80162a114 SJ Park 2026-09-01 1820
a76723d4b615bd SJ Park 2026-09-15 1821 static int damon_commit_filter(struct damon_filter *dst,
d0de4b29c722d9 SJ Park 2026-05-18 1822 struct damon_filter *src)
d0de4b29c722d9 SJ Park 2026-05-18 1823 {
d0de4b29c722d9 SJ Park 2026-05-18 1824 dst->type = src->type;
d0de4b29c722d9 SJ Park 2026-05-18 1825 dst->matching = src->matching;
d0de4b29c722d9 SJ Park 2026-05-18 1826 dst->allow = src->allow;
d9f23f2f822a59 SJ Park 2026-05-18 1827 switch (dst->type) {
d9f23f2f822a59 SJ Park 2026-05-18 1828 case DAMON_FILTER_TYPE_MEMCG:
d9f23f2f822a59 SJ Park 2026-05-18 1829 dst->memcg_id = src->memcg_id;
d9f23f2f822a59 SJ Park 2026-05-18 1830 break;
a76723d4b615bd SJ Park 2026-09-15 1831 case DAMON_FILTER_TYPE_HUGEPAGE_SIZE:
a76723d4b615bd SJ Park 2026-09-15 1832 if (src->range_max < src->range_min)
a76723d4b615bd SJ Park 2026-09-15 1833 return -EINVAL;
a76723d4b615bd SJ Park 2026-09-15 1834 dst->range_min = src->range_min;
a76723d4b615bd SJ Park 2026-09-15 1835 dst->range_max = src->range_max;
a76723d4b615bd SJ Park 2026-09-15 1836 break;
0e9dffb2f36016 SJ Park 2026-11-14 1837 case DAMON_FILTER_TYPE_REPORT_MADE:
0e9dffb2f36016 SJ Park 2026-11-14 1838 dst->report_type = src->report_type;
d9f23f2f822a59 SJ Park 2026-05-18 @1839 default:
d9f23f2f822a59 SJ Park 2026-05-18 1840 break;
d9f23f2f822a59 SJ Park 2026-05-18 1841 }
a76723d4b615bd SJ Park 2026-09-15 1842 return 0;
d0de4b29c722d9 SJ Park 2026-05-18 1843 }
d0de4b29c722d9 SJ Park 2026-05-18 1844
:::::: The code at line 1839 was first introduced by commit
:::::: d9f23f2f822a59771fdc3cab648785d4f651e1b2 mm/damon/core: introduce DAMON_FILTER_TYPE_MEMCG
:::::: 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
next reply other threads:[~2026-11-15 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 8:33 kernel test robot [this message]
2026-11-15 17:29 ` [sj:damon/next 37/125] mm/damon/core.c:1839:2: warning: unannotated fall-through between switch labels SJ Park
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=202611150922.CN5lOX66-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.