All of lore.kernel.org
 help / color / mirror / Atom feed
* [sj:damon/next 136/167] mm/damon/core.c:1418:2: warning: unannotated fall-through between switch labels
@ 2026-09-02 20:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02 20:44 UTC (permalink / raw)
  To: SJ Park; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-02 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 20:44 [sj:damon/next 136/167] mm/damon/core.c:1418:2: warning: unannotated fall-through between switch labels kernel test robot

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.