linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 4291/4370] kernel/gcov/gcc_4_7.c:162:9: error: implicit declaration of function 'within_module'; did you mean 'init_module'?
@ 2019-03-29  8:06 kbuild test robot
  2019-03-29 17:45 ` [PATCH] gcov: include linux/module.h for within_module Nick Desaulniers
  0 siblings, 1 reply; 11+ messages in thread
From: kbuild test robot @ 2019-03-29  8:06 UTC (permalink / raw)
  To: Greg Hackmann
  Cc: kbuild-all, Nick Desaulniers, Tri Vo, Peter Oberparleiter,
	Andrew Morton, Linux Memory Management List

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1baf02ec984b88b435e2fa065300179a3f48e7d2
commit: 8c3d220cb6b5f502745285106154bad632f43b15 [4291/4370] gcov: clang support
config: x86_64-randconfig-a0-03291513 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 8c3d220cb6b5f502745285106154bad632f43b15
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/gcov/gcc_4_7.c: In function 'gcov_info_within_module':
>> kernel/gcov/gcc_4_7.c:162:9: error: implicit declaration of function 'within_module'; did you mean 'init_module'? [-Werror=implicit-function-declaration]
     return within_module((unsigned long)info, mod);
            ^~~~~~~~~~~~~
            init_module
   cc1: some warnings being treated as errors

vim +162 kernel/gcov/gcc_4_7.c

   152	
   153	/**
   154	 * gcov_info_within_module - check if a profiling data set belongs to a module
   155	 * @info: profiling data set
   156	 * @mod: module
   157	 *
   158	 * Returns true if profiling data belongs module, false otherwise.
   159	 */
   160	bool gcov_info_within_module(struct gcov_info *info, struct module *mod)
   161	{
 > 162		return within_module((unsigned long)info, mod);
   163	}
   164	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

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

end of thread, other threads:[~2019-04-03 15:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-29  8:06 [linux-next:master 4291/4370] kernel/gcov/gcc_4_7.c:162:9: error: implicit declaration of function 'within_module'; did you mean 'init_module'? kbuild test robot
2019-03-29 17:45 ` [PATCH] gcov: include linux/module.h for within_module Nick Desaulniers
2019-03-29 18:01   ` Randy Dunlap
2019-03-29 18:08     ` Randy Dunlap
2019-03-29 18:09     ` Nick Desaulniers
2019-03-29 18:10       ` Randy Dunlap
2019-03-29 18:18         ` [PATCH v2] gcov: fix when CONFIG_MODULES is not set Nick Desaulniers
2019-03-29 20:53           ` Randy Dunlap
2019-03-30 23:57             ` Tri Vo
2019-04-02  2:54               ` Nick Desaulniers
2019-04-03 15:24                 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).