Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [stefandoesinger-zx297520:dlink 70/131] drivers/rpmsg/zx29_smd.c:51:13: warning: variable 'huh' set but not used
@ 2026-09-02 22:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02 22:51 UTC (permalink / raw)
  To: Stefan Dösinger ; +Cc: llvm, oe-kbuild-all

tree:   https://gitlab.com/stefandoesinger/zx297520-kernel dlink
head:   4132307830800b020a6d29d27cb3fec3cb5fbb90
commit: f845ca09dab5001db7890c5242662a1ad134fcf3 [70/131] Even more working rpmsg
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260903/202609030640.2vjAUQKU-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2c2cffa015e9549aafba9e514384b08204c7cc4b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260903/202609030640.2vjAUQKU-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/202609030640.2vjAUQKU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/rpmsg/zx29_smd.c:189:13: warning: unused function 'zx29_smd_release_device' [-Wunused-function]
     189 | static void zx29_smd_release_device(struct device *dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/rpmsg/zx29_smd.c:51:13: warning: variable 'huh' set but not used [-Wunused-but-set-global]
      51 | static u32 *huh;
         |             ^
   2 warnings generated.


vim +/huh +51 drivers/rpmsg/zx29_smd.c

    50	
  > 51	static u32 *huh;
    52	

--
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 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 22:51 [stefandoesinger-zx297520:dlink 70/131] drivers/rpmsg/zx29_smd.c:51:13: warning: variable 'huh' set but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox