lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201261848.Ojsmqjmk-lkp@intel.com>
Date:   Wed, 26 Jan 2022 18:52:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     James Morse <james.morse@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [morse:mpam/snapshot/v5.16 91/137]
 drivers/platform/mpam/mpam_devices.c:230:5: warning: no previous prototype
 for 'mpam_msc_drv_remove'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head:   364c1c42b229912132e1615c2ce15be7154e2156
commit: 166780f7cb6bac22a4707a368a2580bc6899e38f [91/137] arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201261848.Ojsmqjmk-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=166780f7cb6bac22a4707a368a2580bc6899e38f
        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 166780f7cb6bac22a4707a368a2580bc6899e38f
        # 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@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/platform/mpam/mpam_devices.c:230:5: warning: no previous prototype for 'mpam_msc_drv_remove' [-Wmissing-prototypes]
     230 | int mpam_msc_drv_remove(struct platform_device *pdev)
         |     ^~~~~~~~~~~~~~~~~~~


vim +/mpam_msc_drv_remove +230 drivers/platform/mpam/mpam_devices.c

   229	
 > 230	int mpam_msc_drv_remove(struct platform_device *pdev)
   231	{
   232		struct mpam_msc *msc = platform_get_drvdata(pdev);
   233	
   234		if (!msc)
   235			return 0;
   236	
   237		mutex_lock(&mpam_list_lock);
   238		mpam_num_msc--;
   239		platform_set_drvdata(pdev, NULL);
   240		list_del_rcu(&msc->glbl_list);
   241		synchronize_rcu();
   242		mutex_unlock(&mpam_list_lock);
   243	
   244		return 0;
   245	}
   246	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ