tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git N3 head: e481c5a35cc208a6377ea47efdb308b8cfce512e commit: 90bb35ca72b07d7e31096074a6f18429acfb2541 [25/29] vfs: Implement logging through fs_context config: sparc-allnoconfig (attached as .config) compiler: sparc-linux-gcc (GCC) 8.1.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 90bb35ca72b07d7e31096074a6f18429acfb2541 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=sparc 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'; 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 +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:
.config.gz
Description: application/gzip