Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v6 3/6] clk: spacemit: set up reset auxiliary devices
       [not found] <20250506210638.2800228-4-elder@riscstar.com>
@ 2025-05-08  4:09 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-08  4:09 UTC (permalink / raw)
  To: Alex Elder, robh, krzk+dt, conor+dt, mturquette, sboyd, p.zabel,
	paul.walmsley, palmer, aou, alex, dlan
  Cc: llvm, oe-kbuild-all, heylenay, inochiama, guodong, devicetree,
	linux-clk, spacemit, linux-riscv, linux-kernel

Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on cb9c3aeae509b36afbdf46942a7a0a0dfc856ce7]

url:    https://github.com/intel-lab-lkp/linux/commits/Alex-Elder/dt-bindings-soc-spacemit-define-spacemit-k1-ccu-resets/20250507-051019
base:   cb9c3aeae509b36afbdf46942a7a0a0dfc856ce7
patch link:    https://lore.kernel.org/r/20250506210638.2800228-4-elder%40riscstar.com
patch subject: [PATCH v6 3/6] clk: spacemit: set up reset auxiliary devices
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20250508/202505081113.CwKtDYbs-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250508/202505081113.CwKtDYbs-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/202505081113.CwKtDYbs-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/clk/spacemit/ccu-k1.c:998:2: error: call to undeclared function 'kfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     998 |         kfree(to_spacemit_ccu_adev(adev));
         |         ^
   1 error generated.


vim +/kfree +998 drivers/clk/spacemit/ccu-k1.c

   993	
   994	static void spacemit_cadev_release(struct device *dev)
   995	{
   996		struct auxiliary_device *adev = to_auxiliary_dev(dev);
   997	
 > 998		kfree(to_spacemit_ccu_adev(adev));
   999	}
  1000	

-- 
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:[~2025-05-08  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250506210638.2800228-4-elder@riscstar.com>
2025-05-08  4:09 ` [PATCH v6 3/6] clk: spacemit: set up reset auxiliary devices 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