From: kernel test robot <lkp@intel.com>
To: Richard Kuo <rkuo@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev, Brian Cain <bcain@kernel.org>
Subject: [bcain:bcain/qemu_boot 24/66] arch/hexagon/kernel/hexagon_debug.c:5:5: sparse: sparse: symbol 'sample_u32' was not declared. Should it be static?
Date: Mon, 06 Jul 2026 23:15:18 +0800 [thread overview]
Message-ID: <202607062224.avOJtkbw-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux.git bcain/qemu_boot
head: 29facc8c3b3fe50f4914c90aec24a76217fa35c1
commit: 8be2af9ea122e286ca475227495296847336bb9d [24/66] hexagon: add debug infrastructure
config: hexagon-randconfig-r113-20260706 (https://download.01.org/0day-ci/archive/20260706/202607062224.avOJtkbw-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607062224.avOJtkbw-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/202607062224.avOJtkbw-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/hexagon/kernel/hexagon_debug.c: note: in included file (through arch/hexagon/include/asm/timex.h, include/linux/timex.h, include/linux/time32.h, include/linux/time.h, ...):
arch/hexagon/include/asm/hexagon_vm.h:51:5: sparse: sparse: undefined preprocessor identifier '__HEXAGON_ARCH__'
>> arch/hexagon/kernel/hexagon_debug.c:5:5: sparse: sparse: symbol 'sample_u32' was not declared. Should it be static?
>> arch/hexagon/kernel/hexagon_debug.c:8:5: sparse: sparse: symbol 'zebu_pmu_dump' was not declared. Should it be static?
>> arch/hexagon/kernel/hexagon_debug.c:9:5: sparse: sparse: symbol 'memory_debug' was not declared. Should it be static?
vim +/sample_u32 +5 arch/hexagon/kernel/hexagon_debug.c
3
4 /* Skeleton for stuffing stuff in debugfs */
> 5 u32 sample_u32;
6 u32 kernel_strace;
7 u32 sig_debug;
> 8 u32 zebu_pmu_dump;
> 9 u32 memory_debug;
10
11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-06 15:16 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=202607062224.avOJtkbw-lkp@intel.com \
--to=lkp@intel.com \
--cc=bcain@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rkuo@quicinc.com \
/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.