From: kernel test robot <lkp@intel.com>
To: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Cc: kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org, Borislav Petkov <bp@suse.de>,
Yazen Ghannam <yazen.ghannam@amd.com>
Subject: [ammarfaizi2-block:bp/bp/test 23/23] arch/x86/kernel/cpu/mce/amd.c:726:1: warning: 'inline' is not at beginning of declaration
Date: Mon, 4 Apr 2022 00:30:51 +0800 [thread overview]
Message-ID: <202204040044.xPo5Hahu-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block bp/bp/test
head: aff0e90f2a981e0350187c8a931071d7f35df6e5
commit: aff0e90f2a981e0350187c8a931071d7f35df6e5 [23/23] x86/mce: Define a function to extract ErrorAddr from MCA_ADDR
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220404/202204040044.xPo5Hahu-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/aff0e90f2a981e0350187c8a931071d7f35df6e5
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block bp/bp/test
git checkout aff0e90f2a981e0350187c8a931071d7f35df6e5
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/cpu/mce/
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 >>):
>> arch/x86/kernel/cpu/mce/amd.c:726:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
726 | void __always_inline smca_extract_err_addr(struct mce *m)
| ^~~~
vim +/inline +726 arch/x86/kernel/cpu/mce/amd.c
724
725 /* Extract [55:<lsb>] where lsb is the LS-*valid* bit of the address bits. */
> 726 void __always_inline smca_extract_err_addr(struct mce *m)
727 {
728 u8 lsb;
729
730 if (!mce_flags.smca)
731 return;
732
733 lsb = (m->addr >> 56) & 0x3f;
734
735 m->addr &= GENMASK_ULL(55, lsb);
736 }
737
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-03 16:31 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=202204040044.xPo5Hahu-lkp@intel.com \
--to=lkp@intel.com \
--cc=Smita.KoralahalliChannabasappa@amd.com \
--cc=bp@suse.de \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yazen.ghannam@amd.com \
/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