* [vfs:N7 27/31] fs/fs_context.c:382:3: error: implicit declaration of function 'vprintk_emit'
@ 2018-11-05 22:25 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-11-05 22:25 UTC (permalink / raw)
To: David Howells; +Cc: kbuild-all, linux-fsdevel, Al Viro
[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git N7
head: 955ae92da3dd3064f127613be863b7d6d8dddf69
commit: 058e44bea52d13b3590944a10fb7209a445f0d03 [27/31] vfs: Implement logging through fs_context
config: openrisc-allnoconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 058e44bea52d13b3590944a10fb7209a445f0d03
# save the attached .config to linux build tree
make.cross ARCH=openrisc
All errors (new ones prefixed by >>):
fs/fs_context.c: In function 'logfc':
>> fs/fs_context.c:382:3: error: implicit declaration of function 'vprintk_emit' [-Werror=implicit-function-declaration]
vprintk_emit(0, LOGLEVEL_WARNING, NULL, 0, fmt, va);
^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/vprintk_emit +382 fs/fs_context.c
368
369 /**
370 * logfc - Log a message to a filesystem context
371 * @fc: The filesystem context to log to.
372 * @fmt: The format of the buffer.
373 */
374 void logfc(struct fs_context *fc, const char *fmt, ...)
375 {
376 va_list va;
377
378 va_start(va, fmt);
379
380 switch (fmt[0]) {
381 case 'w':
> 382 vprintk_emit(0, LOGLEVEL_WARNING, NULL, 0, fmt, va);
383 break;
384 case 'e':
385 vprintk_emit(0, LOGLEVEL_ERR, NULL, 0, fmt, va);
386 break;
387 default:
388 vprintk_emit(0, LOGLEVEL_NOTICE, NULL, 0, fmt, va);
389 break;
390 }
391
392 pr_cont("\n");
393 va_end(va);
394 }
395 EXPORT_SYMBOL(logfc);
396
---
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: 4424 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-06 7:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 22:25 [vfs:N7 27/31] fs/fs_context.c:382:3: error: implicit declaration of function 'vprintk_emit' kbuild 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.