All of lore.kernel.org
 help / color / mirror / Atom feed
* [spandruvada:intel_tpmi_uncore 62/65] drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c:331:27: error: initialization of 'void (*)(struct auxiliary_device *)' from incompatible pointer type 'int (*)(struct auxiliary_device *)'
@ 2023-04-15  6:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-15  6:45 UTC (permalink / raw)
  To: Srinivas Pandruvada; +Cc: oe-kbuild-all

tree:   https://github.com/spandruvada/linux-kernel intel_tpmi_uncore
head:   86f738b1487c199ca6066ed10af09667e684180e
commit: 1f86cedfe5d33dd44555736521d63812ce3e19ea [62/65] platform/x86/intel-uncore-freq: Uncore frequency control via TPMI
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230415/202304151445.2aHiym7P-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/spandruvada/linux-kernel/commit/1f86cedfe5d33dd44555736521d63812ce3e19ea
        git remote add spandruvada https://github.com/spandruvada/linux-kernel
        git fetch --no-tags spandruvada intel_tpmi_uncore
        git checkout 1f86cedfe5d33dd44555736521d63812ce3e19ea
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304151445.2aHiym7P-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c:331:27: error: initialization of 'void (*)(struct auxiliary_device *)' from incompatible pointer type 'int (*)(struct auxiliary_device *)' [-Werror=incompatible-pointer-types]
     331 |         .remove         = uncore_remove,
         |                           ^~~~~~~~~~~~~
   drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c:331:27: note: (near initialization for 'intel_uncore_aux_driver.remove')
   cc1: some warnings being treated as errors


vim +331 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c

   328	
   329	static struct auxiliary_driver intel_uncore_aux_driver = {
   330		.id_table       = intel_uncore_id_table,
 > 331		.remove         = uncore_remove,
   332		.probe          = uncore_probe,
   333	};
   334	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-15  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15  6:45 [spandruvada:intel_tpmi_uncore 62/65] drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c:331:27: error: initialization of 'void (*)(struct auxiliary_device *)' from incompatible pointer type 'int (*)(struct auxiliary_device *)' kernel test robot

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.