Re: [PATCH] drivers/android/binder.c: Remove duplicate header

From: kbuild test robot
Date: Fri Nov 09 2018 - 20:51:45 EST


Hi Brajeswar,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.20-rc1 next-20181109]
[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/Brajeswar-Ghosh/drivers-android-binder-c-Remove-duplicate-header/20181109-154717
config: i386-randconfig-i3-201844 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/android/binder.o: In function `__read_once_size':
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_return'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_return'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_return'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_buffer_release'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_buffer_release'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_buffer_release'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_wait_for_work'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_fd_recv'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_wait_for_work'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_fd_recv'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_fd_recv'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_wait_for_work'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_received'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_received'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_received'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_alloc_buf'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_failed_buffer_release'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction'
>> include/linux/compiler.h:182: undefined reference to `__tracepoint_binder_transaction_alloc_buf'

vim +182 include/linux/compiler.h

d976441f Andrey Ryabinin 2015-10-19 178
d976441f Andrey Ryabinin 2015-10-19 179 static __always_inline
d976441f Andrey Ryabinin 2015-10-19 180 void __read_once_size(const volatile void *p, void *res, int size)
230fa253 Christian Borntraeger 2014-11-25 181 {
d976441f Andrey Ryabinin 2015-10-19 @182 __READ_ONCE_SIZE;
230fa253 Christian Borntraeger 2014-11-25 183 }
d976441f Andrey Ryabinin 2015-10-19 184

:::::: The code at line 182 was first introduced by commit
:::::: d976441f44bc5d48635d081d277aa76556ffbf8b compiler, atomics, kasan: Provide READ_ONCE_NOCHECK()

:::::: TO: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip