* [jirislaby:lto 40/48] arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit'
@ 2022-06-27 10:46 kernel test robot
2022-06-28 1:49 ` kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-06-27 10:46 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2471 bytes --]
::::::
:::::: Manual check reason: "commit no functional change"
::::::
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Andi Kleen <ak@linux.intel.com>
CC: Jiri Slaby <jirislaby@kernel.org>
CC: Martin Liska <mliska@suse.cz>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git lto
head: b5ee1c28376713353cb5355716949d9c6d9b416b
commit: 37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9 [40/48] cpufreq, amd-pstate, lto: Fix for gcc LTO
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220627/202206271846.ABXxrU2T-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby lto
git checkout 37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/events/amd/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit' [-Wmissing-prototypes]
696 | __visible_on_lto bool amd_pmu_test_overflow_topbit(int idx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/amd_pmu_test_overflow_topbit +696 arch/x86/events/amd/core.c
7685665c390dc6 Sandipan Das 2022-04-21 695
37d6f8c7840982 Andi Kleen 2022-02-18 @696 __visible_on_lto bool amd_pmu_test_overflow_topbit(int idx)
7685665c390dc6 Sandipan Das 2022-04-21 697 {
7685665c390dc6 Sandipan Das 2022-04-21 698 u64 counter;
7685665c390dc6 Sandipan Das 2022-04-21 699
7685665c390dc6 Sandipan Das 2022-04-21 700 rdmsrl(x86_pmu_event_addr(idx), counter);
7685665c390dc6 Sandipan Das 2022-04-21 701
7685665c390dc6 Sandipan Das 2022-04-21 702 return !(counter & BIT_ULL(x86_pmu.cntval_bits - 1));
7685665c390dc6 Sandipan Das 2022-04-21 703 }
7685665c390dc6 Sandipan Das 2022-04-21 704
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* [jirislaby:lto 40/48] arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit'
2022-06-27 10:46 [jirislaby:lto 40/48] arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit' kernel test robot
@ 2022-06-28 1:49 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-06-28 1:49 UTC (permalink / raw)
To: Andi Kleen
Cc: kbuild-all, Linux Kernel Mailing List, Jiri Slaby, Martin Liska
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git lto
head: b5ee1c28376713353cb5355716949d9c6d9b416b
commit: 37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9 [40/48] cpufreq, amd-pstate, lto: Fix for gcc LTO
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220627/202206271846.ABXxrU2T-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby lto
git checkout 37d6f8c7840982bb452f8bb411fba6a7f4f0e8e9
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/events/amd/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <yujie.liu@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit' [-Wmissing-prototypes]
696 | __visible_on_lto bool amd_pmu_test_overflow_topbit(int idx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/amd_pmu_test_overflow_topbit +696 arch/x86/events/amd/core.c
7685665c390dc6 Sandipan Das 2022-04-21 695
37d6f8c7840982 Andi Kleen 2022-02-18 @696 __visible_on_lto bool amd_pmu_test_overflow_topbit(int idx)
7685665c390dc6 Sandipan Das 2022-04-21 697 {
7685665c390dc6 Sandipan Das 2022-04-21 698 u64 counter;
7685665c390dc6 Sandipan Das 2022-04-21 699
7685665c390dc6 Sandipan Das 2022-04-21 700 rdmsrl(x86_pmu_event_addr(idx), counter);
7685665c390dc6 Sandipan Das 2022-04-21 701
7685665c390dc6 Sandipan Das 2022-04-21 702 return !(counter & BIT_ULL(x86_pmu.cntval_bits - 1));
7685665c390dc6 Sandipan Das 2022-04-21 703 }
7685665c390dc6 Sandipan Das 2022-04-21 704
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-28 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27 10:46 [jirislaby:lto 40/48] arch/x86/events/amd/core.c:696:23: warning: no previous prototype for 'amd_pmu_test_overflow_topbit' kernel test robot
2022-06-28 1:49 ` kernel test robot
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.