* [jimc:jump-batch-260903 51/56] lib/dynamic_debug.c:793:1: warning: the frame size of 1296 bytes is larger than 1280 bytes
@ 2026-09-06 15:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-06 15:46 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git jump-batch-260903
head: c2b43d468878ecfd9647a8eea621ceda5d1cd208
commit: ac471b8cc89b36ddb96940b2bd214217c4bab1fe [51/56] x86/alternative, jump_label, dyndbg: fix early boot crashes and locking in jump-batch-core-1
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260906/202609062305.5uATbcF2-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260906/202609062305.5uATbcF2-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/202609062305.5uATbcF2-lkp@intel.com/
All warnings (new ones prefixed by >>):
lib/dynamic_debug.c: In function 'ddebug_apply_class_bitmap':
>> lib/dynamic_debug.c:793:1: warning: the frame size of 1296 bytes is larger than 1280 bytes [-Wframe-larger-than=]
793 | }
| ^
vim +793 lib/dynamic_debug.c
a2d375eda771a6 Jim Cromie 2020-08-31 744
0a63a411361860 Jim Cromie 2025-11-18 745 /* apply a new class-param setting */
b9400852c0801a Jim Cromie 2022-09-04 746 static int ddebug_apply_class_bitmap(const struct ddebug_class_param *dcp,
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 747 const u32 *new_bits, const u32 old_bits,
0a63a411361860 Jim Cromie 2025-11-18 748 const char *query_modname)
b9400852c0801a Jim Cromie 2022-09-04 749 {
b9400852c0801a Jim Cromie 2022-09-04 750 const struct ddebug_class_map *map = dcp->map;
b9400852c0801a Jim Cromie 2022-09-04 751 int matches = 0;
398a544c6030fa Jim Cromie 2026-03-08 752 int bi, pos = 0;
ac471b8cc89b36 Jim Cromie 2026-08-08 753 bool alloc = true;
ac471b8cc89b36 Jim Cromie 2026-08-08 754 char sbuf[1024];
398a544c6030fa Jim Cromie 2026-03-08 755 char *buf;
398a544c6030fa Jim Cromie 2026-03-08 756
398a544c6030fa Jim Cromie 2026-03-08 757 if (*new_bits == old_bits)
398a544c6030fa Jim Cromie 2026-03-08 758 return 0;
b9400852c0801a Jim Cromie 2022-09-04 759
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 760 v2pr_info("apply bitmap: 0x%x to: 0x%x for %s\n", *new_bits,
28d2dd8233aa44 Jim Cromie 2025-11-18 761 old_bits, query_modname ?: "'*'");
b9400852c0801a Jim Cromie 2022-09-04 762
ac471b8cc89b36 Jim Cromie 2026-08-08 763 buf = kmalloc(1024, GFP_KERNEL);
ac471b8cc89b36 Jim Cromie 2026-08-08 764 if (!buf) {
ac471b8cc89b36 Jim Cromie 2026-08-08 765 buf = sbuf;
ac471b8cc89b36 Jim Cromie 2026-08-08 766 alloc = false;
ac471b8cc89b36 Jim Cromie 2026-08-08 767 }
398a544c6030fa Jim Cromie 2026-03-08 768
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 769 for (bi = 0; bi < map->length && bi < 32; bi++) {
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 770 bool new_b = !!(*new_bits & BIT(bi));
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 771 bool old_b = !!(old_bits & BIT(bi));
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 772
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 773 if (new_b == old_b)
b9400852c0801a Jim Cromie 2022-09-04 774 continue;
b9400852c0801a Jim Cromie 2022-09-04 775
ac471b8cc89b36 Jim Cromie 2026-08-08 776 pos += scnprintf(buf + pos, (alloc ? 1024 : sizeof(sbuf)) - pos, "class %s %c%s%c",
398a544c6030fa Jim Cromie 2026-03-08 777 map->class_names[bi],
398a544c6030fa Jim Cromie 2026-03-08 778 new_b ? '+' : '-', dcp->flags, ';');
398a544c6030fa Jim Cromie 2026-03-08 779 }
b9400852c0801a Jim Cromie 2022-09-04 780
398a544c6030fa Jim Cromie 2026-03-08 781 if (pos) {
398a544c6030fa Jim Cromie 2026-03-08 782 buf[pos - 1] = '\0'; /* trim last ';' */
398a544c6030fa Jim Cromie 2026-03-08 783 matches = ddebug_exec_queries(buf, query_modname);
b9400852c0801a Jim Cromie 2022-09-04 784 }
398a544c6030fa Jim Cromie 2026-03-08 785
ac471b8cc89b36 Jim Cromie 2026-08-08 786 if (alloc)
398a544c6030fa Jim Cromie 2026-03-08 787 kfree(buf);
398a544c6030fa Jim Cromie 2026-03-08 788
1ec0f7ef1e9ab3 Jim Cromie 2025-11-18 789 v2pr_info("applied bitmap: 0x%x to: 0x%x for %s\n", *new_bits,
28d2dd8233aa44 Jim Cromie 2025-11-18 790 old_bits, query_modname ?: "'*'");
0a63a411361860 Jim Cromie 2025-11-18 791
b9400852c0801a Jim Cromie 2022-09-04 792 return matches;
b9400852c0801a Jim Cromie 2022-09-04 @793 }
b9400852c0801a Jim Cromie 2022-09-04 794
:::::: The code at line 793 was first introduced by commit
:::::: b9400852c0801aebee4fc8b62e6b7cc69c7fcbda dyndbg: add drm.debug style (drm/parameters/debug) bitmap support
:::::: TO: Jim Cromie <jim.cromie@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.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-06 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 15:46 [jimc:jump-batch-260903 51/56] lib/dynamic_debug.c:793:1: warning: the frame size of 1296 bytes is larger than 1280 bytes 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.