From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
"Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:dd-shrink-6a5 24/51] lib/dynamic_debug.c:1094:7: error: call to undeclared function 'class_in_range'; ISO C99 and later do not support implicit function declarations
Date: Sun, 26 Oct 2025 08:03:12 +0800 [thread overview]
Message-ID: <202510260709.sP8681DF-lkp@intel.com> (raw)
tree: https://github.com/jimc/linux.git dd-shrink-6a5
head: a2f8b47e22fa6a1a9852e392166bc9adf45cc17d
commit: 0b97c67ff7508553279207f049005e69875b9d81 [24/51] dyndbg-API: replace DECLARE_DYNDBG_CLASSMAP
config: x86_64-randconfig-074-20251025 (https://download.01.org/0day-ci/archive/20251026/202510260709.sP8681DF-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251026/202510260709.sP8681DF-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/202510260709.sP8681DF-lkp@intel.com/
Note: the jimc/dd-shrink-6a5 HEAD a2f8b47e22fa6a1a9852e392166bc9adf45cc17d builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> lib/dynamic_debug.c:1094:7: error: call to undeclared function 'class_in_range'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1094 | if (class_in_range(dp->class_id, cli->map))
| ^
1 error generated.
vim +/class_in_range +1094 lib/dynamic_debug.c
1082
1083 static const char *ddebug_class_name(struct _ddebug_info *di, struct _ddebug *dp)
1084 {
1085 struct _ddebug_class_map *map;
1086 struct _ddebug_class_user *cli;
1087 int i;
1088
1089 for_subvec(i, map, di, maps)
1090 if (ddebug_class_in_range(dp->class_id, map))
1091 return map->class_names[dp->class_id - map->base];
1092
1093 for_subvec(i, cli, di, users)
> 1094 if (class_in_range(dp->class_id, cli->map))
1095 return cli->map->class_names[dp->class_id - cli->map->base];
1096
1097 return NULL;
1098 }
1099
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-10-26 0:03 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=202510260709.sP8681DF-lkp@intel.com \
--to=lkp@intel.com \
--cc=jim.cromie@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ukaszb@chromium.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.