mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [jolsa-perf:ftrace/direct 8/8] samples/ftrace/ftrace-direct-multi.c:8:6: error: no previous prototype for 'my_direct_func'
@ 2021-11-14  8:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-14  8:13 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git ftrace/direct
head:   b171ddeaf8fd82ae5e703a9ec28dc4a44f8f0019
commit: b171ddeaf8fd82ae5e703a9ec28dc4a44f8f0019 [8/8] ftrace/samples: Add multi direct interface test module
config: x86_64-allyesconfig (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/jolsa/perf.git/commit/?id=b171ddeaf8fd82ae5e703a9ec28dc4a44f8f0019
        git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
        git fetch --no-tags jolsa-perf ftrace/direct
        git checkout b171ddeaf8fd82ae5e703a9ec28dc4a44f8f0019
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> samples/ftrace/ftrace-direct-multi.c:8:6: error: no previous prototype for 'my_direct_func' [-Werror=missing-prototypes]
       8 | void my_direct_func(unsigned long ip)
         |      ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/my_direct_func +8 samples/ftrace/ftrace-direct-multi.c

     7	
   > 8	void my_direct_func(unsigned long ip)
     9	{
    10		trace_printk("ip %lx\n", ip);
    11	}
    12	

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-14  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14  8:13 [jolsa-perf:ftrace/direct 8/8] samples/ftrace/ftrace-direct-multi.c:8:6: error: no previous prototype for 'my_direct_func' kernel test robot

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®