tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
const_driver
head:   f4b9252a85a6ce543ba43ddce935a318ed04a618
commit: 1c2cb4152270681e66c4db7415254ca450068b22 [3/10] driver core: have 
match() callback in struct bus_type take a const *
config: mips-randconfig-r123-20240622 
(https://download.01.org/0day-ci/archive/20240622/202406220726.ilkr3tvs-...@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 
ad79a14c9e5ec4a369eed4adf567c22cc029863f)
reproduce: 
(https://download.01.org/0day-ci/archive/20240622/202406220726.ilkr3tvs-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202406220726.ilkr3tvs-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/bus/mips_cdmm.c:124:12: error: incompatible function pointer types 
>> initializing 'int (*)(struct device *, const struct device_driver *)' with 
>> an expression of type 'int (struct device *, struct device_driver *)' 
>> [-Wincompatible-function-pointer-types]
     124 |         .match          = mips_cdmm_match,
         |                           ^~~~~~~~~~~~~~~
   1 error generated.


vim +124 drivers/bus/mips_cdmm.c

8286ae03308c6f James Hogan         2015-03-25  120  
eac95d5ae4f872 Ricardo B. Marliere 2024-02-13  121  const struct bus_type 
mips_cdmm_bustype = {
8286ae03308c6f James Hogan         2015-03-25  122      .name           = 
"cdmm",
8286ae03308c6f James Hogan         2015-03-25  123      .dev_groups     = 
mips_cdmm_dev_groups,
8286ae03308c6f James Hogan         2015-03-25 @124      .match          = 
mips_cdmm_match,
8286ae03308c6f James Hogan         2015-03-25  125      .uevent         = 
mips_cdmm_uevent,
8286ae03308c6f James Hogan         2015-03-25  126  };
8286ae03308c6f James Hogan         2015-03-25  127  
EXPORT_SYMBOL_GPL(mips_cdmm_bustype);
8286ae03308c6f James Hogan         2015-03-25  128  

:::::: The code at line 124 was first introduced by commit
:::::: 8286ae03308c6f97f346f9f8cb9174b04969add5 MIPS: Add CDMM bus support

:::::: TO: James Hogan <james.ho...@imgtec.com>
:::::: CC: Ralf Baechle <r...@linux-mips.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to