[PATCH v1 1/1] amba: bus: balance firmware node reference counting

kernel test robot lkp at intel.com
Thu Aug 24 13:59:06 PDT 2023


Hi Andy,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20230824]
[cannot apply to rafael-pm/linux-next robh/for-next soc/for-next linus/master v6.5-rc7 v6.5-rc6 v6.5-rc5 v6.5-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/amba-bus-balance-firmware-node-reference-counting/20230825-003007
base:   next-20230824
patch link:    https://lore.kernel.org/r/20230824162654.2890992-1-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 1/1] amba: bus: balance firmware node reference counting
config: arm-randconfig-001-20230825 (https://download.01.org/0day-ci/archive/20230825/202308250458.VwjoWF3t-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308250458.VwjoWF3t-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308250458.VwjoWF3t-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/amba/bus.c:532:39: error: expected ')'
     532 |         fwnode_handle_put(dev_fwnode(&d->dev);
         |                                              ^
   drivers/amba/bus.c:532:19: note: to match this '('
     532 |         fwnode_handle_put(dev_fwnode(&d->dev);
         |                          ^
   1 error generated.


vim +532 drivers/amba/bus.c

   527	
   528	static void amba_device_release(struct device *dev)
   529	{
   530		struct amba_device *d = to_amba_device(dev);
   531	
 > 532		fwnode_handle_put(dev_fwnode(&d->dev);
   533		if (d->res.parent)
   534			release_resource(&d->res);
   535		mutex_destroy(&d->periphid_lock);
   536		kfree(d);
   537	}
   538	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the linux-arm-kernel mailing list