All of lore.kernel.org
 help / color / mirror / Atom feed
* [luto:x86/kentry 11/11] kernel/entry/common.c:60:6: warning: no previous prototype for 'kentry_assert_may_instrument'
@ 2021-05-04  2:35 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-04  2:35 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/kentry
head:   e527b2f058012d5228c1215da0a7535e7c1bb923
commit: e527b2f058012d5228c1215da0a7535e7c1bb923 [11/11] kentry: Verify kentry state in instrumentation_begin/end()
config: i386-randconfig-m021-20210503 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?id=e527b2f058012d5228c1215da0a7535e7c1bb923
        git remote add luto https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
        git fetch --no-tags luto x86/kentry
        git checkout e527b2f058012d5228c1215da0a7535e7c1bb923
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=i386 

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 >>):

>> kernel/entry/common.c:60:6: warning: no previous prototype for 'kentry_assert_may_instrument' [-Wmissing-prototypes]
      60 | void kentry_assert_may_instrument(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kentry_assert_may_instrument +60 kernel/entry/common.c

    59	
  > 60	void kentry_assert_may_instrument(void)
    61	{
    62		DEBUG_ENTRY_WARN_ONCE(this_cpu_read(kentry_cpu_depth) == 0, "instrumentable code is running in the wrong kentry state");
    63	}
    64	EXPORT_SYMBOL_GPL(kentry_assert_may_instrument);
    65	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35892 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [luto:x86/kentry 11/11] kernel/entry/common.c:60:6: warning: no previous prototype for 'kentry_assert_may_instrument'
@ 2021-05-18 20:37 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-18 20:37 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/kentry
head:   fb951a475a1cd1e5e280ee8b4ce64a6a68c77b64
commit: fb951a475a1cd1e5e280ee8b4ce64a6a68c77b64 [11/11] kentry: Verify kentry state in instrumentation_begin/end()
config: i386-randconfig-p002-20210518 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?id=fb951a475a1cd1e5e280ee8b4ce64a6a68c77b64
        git remote add luto https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
        git fetch --no-tags luto x86/kentry
        git checkout fb951a475a1cd1e5e280ee8b4ce64a6a68c77b64
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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 >>):

>> kernel/entry/common.c:60:6: warning: no previous prototype for 'kentry_assert_may_instrument' [-Wmissing-prototypes]
      60 | void kentry_assert_may_instrument(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kentry_assert_may_instrument +60 kernel/entry/common.c

    59	
  > 60	void kentry_assert_may_instrument(void)
    61	{
    62		DEBUG_ENTRY_WARN_ONCE(this_cpu_read(kentry_cpu_depth) == 0, "instrumentable code is running in the wrong kentry state");
    63	}
    64	EXPORT_SYMBOL_GPL(kentry_assert_may_instrument);
    65	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30857 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-18 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  2:35 [luto:x86/kentry 11/11] kernel/entry/common.c:60:6: warning: no previous prototype for 'kentry_assert_may_instrument' kernel test robot
2021-05-18 20:37 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.