linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vfs:work.mount 49/52] fs/fs_context.c:400:3: error: implicit declaration of function 'vprintk_emit'; did you mean 'dev_printk_emit'?
@ 2018-12-31 20:10 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-12-31 20:10 UTC (permalink / raw)
  To: David Howells; +Cc: kbuild-all, linux-fsdevel, Al Viro

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.mount
head:   fd6261f4322ce38ab5c2acb0a1578e4caa3b8cc9
commit: e6d72ffc503f7e5fa97fac220aad009a3bd18c8b [49/52] vfs: Implement logging through fs_context
config: m68k-allnoconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e6d72ffc503f7e5fa97fac220aad009a3bd18c8b
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   fs/fs_context.c: In function 'logfc':
>> fs/fs_context.c:400:3: error: implicit declaration of function 'vprintk_emit'; did you mean 'dev_printk_emit'? [-Werror=implicit-function-declaration]
      vprintk_emit(0, LOGLEVEL_WARNING, NULL, 0, fmt, va);
      ^~~~~~~~~~~~
      dev_printk_emit
   cc1: some warnings being treated as errors

vim +400 fs/fs_context.c

   386	
   387	/**
   388	 * logfc - Log a message to a filesystem context
   389	 * @fc: The filesystem context to log to.
   390	 * @fmt: The format of the buffer.
   391	 */
   392	void logfc(struct fs_context *fc, const char *fmt, ...)
   393	{
   394		va_list va;
   395	
   396		va_start(va, fmt);
   397	
   398		switch (fmt[0]) {
   399		case 'w':
 > 400			vprintk_emit(0, LOGLEVEL_WARNING, NULL, 0, fmt, va);
   401			break;
   402		case 'e':
   403			vprintk_emit(0, LOGLEVEL_ERR, NULL, 0, fmt, va);
   404			break;
   405		default:
   406			vprintk_emit(0, LOGLEVEL_NOTICE, NULL, 0, fmt, va);
   407			break;
   408		}
   409	
   410		pr_cont("\n");
   411		va_end(va);
   412	}
   413	EXPORT_SYMBOL(logfc);
   414	

---
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: 4243 bytes --]

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

only message in thread, other threads:[~2018-12-31 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 20:10 [vfs:work.mount 49/52] fs/fs_context.c:400:3: error: implicit declaration of function 'vprintk_emit'; did you mean 'dev_printk_emit'? kbuild test robot

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