mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [morse:mpam/snapshot/v5.16 103/137] drivers/platform/mpam/mpam_devices.c:1559:6: warning: no previous prototype for '__write_config'
@ 2022-01-26 14:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-26 14:07 UTC (permalink / raw)
  To: James Morse; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head:   364c1c42b229912132e1615c2ce15be7154e2156
commit: b9325e10d6bf95422eae60f2a9797f7790ec2dfc [103/137] arm_mpam: Allow configuration to be applied and restored during cpu online
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201262225.apzl51l5-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=b9325e10d6bf95422eae60f2a9797f7790ec2dfc
        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 b9325e10d6bf95422eae60f2a9797f7790ec2dfc
        # 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:392:5: warning: no previous prototype for 'mpam_ris_get_affinity' [-Wmissing-prototypes]
     392 | int mpam_ris_get_affinity(struct mpam_msc *msc, cpumask_t *affinity,
         |     ^~~~~~~~~~~~~~~~~~~~~
   drivers/platform/mpam/mpam_devices.c:425:5: warning: no previous prototype for 'mpam_ris_create_locked' [-Wmissing-prototypes]
     425 | int mpam_ris_create_locked(struct mpam_msc *msc, u8 ris_idx,
         |     ^~~~~~~~~~~~~~~~~~~~~~
   drivers/platform/mpam/mpam_devices.c:1409:6: warning: no previous prototype for 'mpam_enable_once' [-Wmissing-prototypes]
    1409 | void mpam_enable_once(void)
         |      ^~~~~~~~~~~~~~~~
   drivers/platform/mpam/mpam_devices.c:1535:5: warning: no previous prototype for 'mpam_msc_drv_remove' [-Wmissing-prototypes]
    1535 | int mpam_msc_drv_remove(struct platform_device *pdev)
         |     ^~~~~~~~~~~~~~~~~~~
>> drivers/platform/mpam/mpam_devices.c:1559:6: warning: no previous prototype for '__write_config' [-Wmissing-prototypes]
    1559 | void __write_config(void *arg)
         |      ^~~~~~~~~~~~~~


vim +/__write_config +1559 drivers/platform/mpam/mpam_devices.c

  1558	
> 1559	void __write_config(void *arg)
  1560	{
  1561		struct mpam_write_config_arg *c = arg;
  1562	
  1563		mpam_reprogram_ris_partid(c->ris, c->partid, &c->comp->cfg[c->partid]);
  1564	}
  1565	

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

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

only message in thread, other threads:[~2022-01-26 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 14:07 [morse:mpam/snapshot/v5.16 103/137] drivers/platform/mpam/mpam_devices.c:1559:6: warning: no previous prototype for '__write_config' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®