From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [morse:mpam/snapshot/v5.16 84/137] drivers/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse'
Date: Wed, 26 Jan 2022 17:11:01 +0800 [thread overview]
Message-ID: <202201261729.TYtOlqcK-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head: 364c1c42b229912132e1615c2ce15be7154e2156
commit: b841feb1820b7008977aa2684994b5debe450b18 [84/137] ACPI / MPAM: Parse the MPAM table
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201261729.TYtOlqcK-lkp(a)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=b841feb1820b7008977aa2684994b5debe450b18
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 b841feb1820b7008977aa2684994b5debe450b18
# 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/acpi/arm64/ drivers/platform/
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/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse' [-Wmissing-prototypes]
244 | int __init acpi_mpam_parse(void)
| ^~~~~~~~~~~~~~~
vim +/acpi_mpam_parse +244 drivers/acpi/arm64/mpam.c
243
> 244 int __init acpi_mpam_parse(void)
245 {
246 struct acpi_table_header *mpam;
247 acpi_status status;
248 int err;
249
250 if (acpi_disabled || !mpam_cpus_have_feature())
251 return 0;
252
253 status = acpi_get_table(ACPI_SIG_MPAM, 0, &mpam);
254 if (ACPI_FAILURE(status))
255 return -ENOENT;
256
257 err = _parse_table(mpam);
258 acpi_put_table(mpam);
259
260 return err;
261 }
262
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
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 84/137] drivers/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse'
Date: Wed, 26 Jan 2022 17:11:01 +0800 [thread overview]
Message-ID: <202201261729.TYtOlqcK-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head: 364c1c42b229912132e1615c2ce15be7154e2156
commit: b841feb1820b7008977aa2684994b5debe450b18 [84/137] ACPI / MPAM: Parse the MPAM table
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201261729.TYtOlqcK-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=b841feb1820b7008977aa2684994b5debe450b18
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 b841feb1820b7008977aa2684994b5debe450b18
# 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/acpi/arm64/ drivers/platform/
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/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse' [-Wmissing-prototypes]
244 | int __init acpi_mpam_parse(void)
| ^~~~~~~~~~~~~~~
vim +/acpi_mpam_parse +244 drivers/acpi/arm64/mpam.c
243
> 244 int __init acpi_mpam_parse(void)
245 {
246 struct acpi_table_header *mpam;
247 acpi_status status;
248 int err;
249
250 if (acpi_disabled || !mpam_cpus_have_feature())
251 return 0;
252
253 status = acpi_get_table(ACPI_SIG_MPAM, 0, &mpam);
254 if (ACPI_FAILURE(status))
255 return -ENOENT;
256
257 err = _parse_table(mpam);
258 acpi_put_table(mpam);
259
260 return err;
261 }
262
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2022-01-26 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 9:11 kernel test robot [this message]
2022-01-26 9:11 ` [morse:mpam/snapshot/v5.16 84/137] drivers/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse' kernel test robot
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=202201261729.TYtOlqcK-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.