linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Morse <james.morse@arm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [morse:mpam/snapshot/v5.16 94/137] drivers/platform/mpam/mpam_devices.c:660:6: warning: no previous prototype for 'mpam_enable_once'
Date: Wed, 26 Jan 2022 21:06:05 +0800	[thread overview]
Message-ID: <202201262115.SStlJyqy-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head:   364c1c42b229912132e1615c2ce15be7154e2156
commit: 33a96085f6c98eddf4ae74babf67cf03c979e2fb [94/137] arm_mpam: Add cpuhp callbacks to probe MSC hardware
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201262115.SStlJyqy-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?id=33a96085f6c98eddf4ae74babf67cf03c979e2fb
        git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
        git fetch --no-tags morse mpam/snapshot/v5.16
        git checkout 33a96085f6c98eddf4ae74babf67cf03c979e2fb
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/platform/mpam/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/platform/mpam/mpam_devices.c:299:5: warning: no previous prototype for 'mpam_ris_get_affinity' [-Wmissing-prototypes]
     299 | int mpam_ris_get_affinity(struct mpam_msc *msc, cpumask_t *affinity,
         |     ^~~~~~~~~~~~~~~~~~~~~
   drivers/platform/mpam/mpam_devices.c:332:5: warning: no previous prototype for 'mpam_ris_create_locked' [-Wmissing-prototypes]
     332 | int mpam_ris_create_locked(struct mpam_msc *msc, u8 ris_idx,
         |     ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform/mpam/mpam_devices.c:660:6: warning: no previous prototype for 'mpam_enable_once' [-Wmissing-prototypes]
     660 | void mpam_enable_once(void)
         |      ^~~~~~~~~~~~~~~~
   drivers/platform/mpam/mpam_devices.c:700:5: warning: no previous prototype for 'mpam_msc_drv_remove' [-Wmissing-prototypes]
     700 | int mpam_msc_drv_remove(struct platform_device *pdev)
         |     ^~~~~~~~~~~~~~~~~~~


vim +/mpam_enable_once +660 drivers/platform/mpam/mpam_devices.c

   659	
 > 660	void mpam_enable_once(void)
   661	{
   662		mutex_lock(&mpam_cpuhp_state_lock);
   663		cpuhp_remove_state(mpam_cpuhp_state);
   664		mpam_cpuhp_state = 0;
   665		mutex_unlock(&mpam_cpuhp_state_lock);
   666	
   667		mpam_register_cpuhp_callbacks(mpam_cpu_online);
   668	
   669		pr_info("MPAM enabled\n");
   670	}
   671	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

                 reply	other threads:[~2022-01-26 13:06 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=202201262115.SStlJyqy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=james.morse@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).