All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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 *)'
Date: Sat, 15 Apr 2023 14:45:09 +0800	[thread overview]
Message-ID: <202304151445.2aHiym7P-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-04-15  6:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202304151445.2aHiym7P-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=srinivas.pandruvada@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.