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 91/137] drivers/platform/mpam/mpam_devices.c:230:5: warning: no previous prototype for 'mpam_msc_drv_remove'
Date: Wed, 26 Jan 2022 18:52:28 +0800 [thread overview]
Message-ID: <202201261848.Ojsmqjmk-lkp@intel.com> (raw)
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@intel.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
reply other threads:[~2022-01-26 10:52 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=202201261848.Ojsmqjmk-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
all inboxes | Powered by JetHome®