Re: [PATCH v2] printk, locking/atomics, kref: Introduce new %pAr and %pAk format string options for atomic_t and 'struct kref'
From: kbuild test robot
Date: Tue Nov 15 2016 - 05:04:14 EST
Hi Ingo,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc5 next-20161115]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Ingo-Molnar/printk-locking-atomics-kref-Introduce-new-pAr-and-pAk-format-string-options-for-atomic_t-and-struct-kref/20161115-174900
config: i386-randconfig-x006-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
lib/vsprintf.c: In function 'atomic_var':
>> lib/vsprintf.c:1498:10: error: implicit declaration of function 'refcount_read' [-Werror=implicit-function-declaration]
num = refcount_read(&kref_p->refcount);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/refcount_read +1498 lib/vsprintf.c
1492 break;
1493 }
1494 case 'k':
1495 {
1496 struct kref *kref_p = (void *)atomic_ptr;
1497
> 1498 num = refcount_read(&kref_p->refcount);
1499 break;
1500 }
1501 default:
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip