Re: [PATCH binder] binder: remove duplicate include in binder.c

From: kernel test robot
Date: Sun Oct 24 2021 - 20:45:44 EST


Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v5.15-rc6]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/cgel-zte-gmail-com/binder-remove-duplicate-include-in-binder-c/20211019-160614
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 548b6d7ebfa458f803bde3fc7ae1c70d5195a678
config: i386-randconfig-a012-20211019 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/9da7752a9cc710b0c7ad1de234da3f4fc67ad5b4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/binder-remove-duplicate-include-in-binder-c/20211019-160614
git checkout 9da7752a9cc710b0c7ad1de234da3f4fc67ad5b4
# save the attached .config to linux build tree
make W=1 ARCH=i386

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

drivers/android/binder_trace.h:246: undefined reference to `__tracepoint_binder_transaction_fd_send'
ld: drivers/android/binder_trace.h:246: undefined reference to `__SCT__tp_func_binder_transaction_fd_send'
ld: drivers/android/binder_trace.h:246: undefined reference to `__tracepoint_binder_transaction_fd_send'
ld: drivers/android/binder.o: in function `trace_binder_transaction_ref_to_node':
drivers/android/binder_trace.h:193: undefined reference to `__tracepoint_binder_transaction_ref_to_node'
ld: drivers/android/binder_trace.h:193: undefined reference to `__SCT__tp_func_binder_transaction_ref_to_node'
ld: drivers/android/binder.o: in function `trace_binder_transaction_ref_to_ref':
drivers/android/binder_trace.h:218: undefined reference to `__tracepoint_binder_transaction_ref_to_ref'
ld: drivers/android/binder_trace.h:218: undefined reference to `__SCT__tp_func_binder_transaction_ref_to_ref'
ld: drivers/android/binder.o: in function `trace_binder_transaction_ref_to_node':
drivers/android/binder_trace.h:193: undefined reference to `__tracepoint_binder_transaction_ref_to_node'
ld: drivers/android/binder.o: in function `trace_binder_transaction_ref_to_ref':
drivers/android/binder_trace.h:218: undefined reference to `__tracepoint_binder_transaction_ref_to_ref'
ld: drivers/android/binder.o: in function `trace_binder_transaction_buffer_release':
drivers/android/binder_trace.h:306: undefined reference to `__tracepoint_binder_transaction_buffer_release'
ld: drivers/android/binder_trace.h:306: undefined reference to `__SCT__tp_func_binder_transaction_buffer_release'
ld: drivers/android/binder_trace.h:306: undefined reference to `__tracepoint_binder_transaction_buffer_release'
ld: drivers/android/binder.o: in function `trace_binder_wait_for_work':
drivers/android/binder_trace.h:79: undefined reference to `__tracepoint_binder_wait_for_work'
ld: drivers/android/binder_trace.h:79: undefined reference to `__SCT__tp_func_binder_wait_for_work'
ld: drivers/android/binder_trace.h:79: undefined reference to `__tracepoint_binder_wait_for_work'
ld: drivers/android/binder.o: in function `trace_binder_transaction_fd_recv':
drivers/android/binder_trace.h:264: undefined reference to `__tracepoint_binder_transaction_fd_recv'
ld: drivers/android/binder_trace.h:264: undefined reference to `__SCT__tp_func_binder_transaction_fd_recv'
ld: drivers/android/binder_trace.h:264: undefined reference to `__tracepoint_binder_transaction_fd_recv'
ld: drivers/android/binder.o: in function `trace_binder_transaction_received':
drivers/android/binder_trace.h:155: undefined reference to `__tracepoint_binder_transaction_received'
ld: drivers/android/binder_trace.h:155: undefined reference to `__SCT__tp_func_binder_transaction_received'
ld: drivers/android/binder_trace.h:155: undefined reference to `__tracepoint_binder_transaction_received'
ld: drivers/android/binder.o: in function `trace_binder_transaction':
drivers/android/binder_trace.h:127: undefined reference to `__tracepoint_binder_transaction'
ld: drivers/android/binder_trace.h:127: undefined reference to `__SCT__tp_func_binder_transaction'
ld: drivers/android/binder.o: in function `trace_binder_transaction_alloc_buf':
drivers/android/binder_trace.h:302: undefined reference to `__tracepoint_binder_transaction_alloc_buf'
ld: drivers/android/binder_trace.h:302: undefined reference to `__SCT__tp_func_binder_transaction_alloc_buf'
ld: drivers/android/binder.o: in function `trace_binder_transaction_failed_buffer_release':
drivers/android/binder_trace.h:310: undefined reference to `__tracepoint_binder_transaction_failed_buffer_release'
ld: drivers/android/binder_trace.h:310: undefined reference to `__SCT__tp_func_binder_transaction_failed_buffer_release'
ld: drivers/android/binder.o: in function `trace_binder_transaction':
drivers/android/binder_trace.h:127: undefined reference to `__tracepoint_binder_transaction'
ld: drivers/android/binder.o: in function `trace_binder_transaction_alloc_buf':
drivers/android/binder_trace.h:302: undefined reference to `__tracepoint_binder_transaction_alloc_buf'
ld: drivers/android/binder.o: in function `trace_binder_transaction_failed_buffer_release':
drivers/android/binder_trace.h:310: undefined reference to `__tracepoint_binder_transaction_failed_buffer_release'
ld: drivers/android/binder.o: in function `trace_binder_transaction_node_to_ref':
drivers/android/binder_trace.h:168: undefined reference to `__tracepoint_binder_transaction_node_to_ref'
ld: drivers/android/binder_trace.h:168: undefined reference to `__SCT__tp_func_binder_transaction_node_to_ref'
ld: drivers/android/binder_trace.h:168: undefined reference to `__tracepoint_binder_transaction_node_to_ref'
ld: drivers/android/binder.o: in function `trace_binder_command':
drivers/android/binder_trace.h:390: undefined reference to `__tracepoint_binder_command'
ld: drivers/android/binder_trace.h:390: undefined reference to `__SCT__tp_func_binder_command'
ld: drivers/android/binder_trace.h:390: undefined reference to `__tracepoint_binder_command'
ld: drivers/android/binder.o: in function `trace_binder_write_done':
drivers/android/binder_trace.h:76: undefined reference to `__tracepoint_binder_write_done'
ld: drivers/android/binder_trace.h:76: undefined reference to `__SCT__tp_func_binder_write_done'
ld: drivers/android/binder.o: in function `trace_binder_read_done':
drivers/android/binder_trace.h:77: undefined reference to `__tracepoint_binder_read_done'
ld: drivers/android/binder_trace.h:77: undefined reference to `__SCT__tp_func_binder_read_done'
ld: drivers/android/binder.o: in function `trace_binder_write_done':
drivers/android/binder_trace.h:76: undefined reference to `__tracepoint_binder_write_done'
ld: drivers/android/binder.o: in function `trace_binder_read_done':
drivers/android/binder_trace.h:77: undefined reference to `__tracepoint_binder_read_done'
ld: drivers/android/binder.o: in function `trace_binder_ioctl':
drivers/android/binder_trace.h:22: undefined reference to `__tracepoint_binder_ioctl'
ld: drivers/android/binder_trace.h:22: undefined reference to `__SCT__tp_func_binder_ioctl'
ld: drivers/android/binder.o: in function `trace_binder_ioctl_done':
drivers/android/binder_trace.h:75: undefined reference to `__tracepoint_binder_ioctl_done'
ld: drivers/android/binder_trace.h:75: undefined reference to `__SCT__tp_func_binder_ioctl_done'
ld: drivers/android/binder.o: in function `trace_binder_ioctl':
drivers/android/binder_trace.h:22: undefined reference to `__tracepoint_binder_ioctl'
ld: drivers/android/binder.o: in function `trace_binder_ioctl_done':
drivers/android/binder_trace.h:75: undefined reference to `__tracepoint_binder_ioctl_done'
ld: drivers/android/binder.o:(__jump_table+0x8): undefined reference to `__tracepoint_binder_txn_latency_free'
ld: drivers/android/binder.o:(__jump_table+0x14): undefined reference to `__tracepoint_binder_txn_latency_free'
ld: drivers/android/binder.o:(__jump_table+0x20): undefined reference to `__tracepoint_binder_return'
ld: drivers/android/binder.o:(__jump_table+0x2c): undefined reference to `__tracepoint_binder_transaction_fd_send'
ld: drivers/android/binder.o:(__jump_table+0x38): undefined reference to `__tracepoint_binder_transaction_ref_to_ref'
ld: drivers/android/binder.o:(__jump_table+0x44): undefined reference to `__tracepoint_binder_transaction_ref_to_node'
ld: drivers/android/binder.o:(__jump_table+0x50): undefined reference to `__tracepoint_binder_transaction_buffer_release'
ld: drivers/android/binder.o:(__jump_table+0x5c): undefined reference to `__tracepoint_binder_wait_for_work'
ld: drivers/android/binder.o:(__jump_table+0x68): undefined reference to `__tracepoint_binder_transaction_fd_recv'
ld: drivers/android/binder.o:(__jump_table+0x74): undefined reference to `__tracepoint_binder_transaction_received'
ld: drivers/android/binder.o:(__jump_table+0x80): undefined reference to `__tracepoint_binder_transaction'
ld: drivers/android/binder.o:(__jump_table+0x8c): undefined reference to `__tracepoint_binder_transaction_alloc_buf'
ld: drivers/android/binder.o:(__jump_table+0x98): undefined reference to `__tracepoint_binder_transaction_failed_buffer_release'
ld: drivers/android/binder.o:(__jump_table+0xa4): undefined reference to `__tracepoint_binder_txn_latency_free'
ld: drivers/android/binder.o:(__jump_table+0xb0): undefined reference to `__tracepoint_binder_transaction_node_to_ref'
ld: drivers/android/binder.o:(__jump_table+0xbc): undefined reference to `__tracepoint_binder_command'
ld: drivers/android/binder.o:(__jump_table+0xc8): undefined reference to `__tracepoint_binder_write_done'
ld: drivers/android/binder.o:(__jump_table+0xd4): undefined reference to `__tracepoint_binder_read_done'
ld: drivers/android/binder.o:(__jump_table+0xe0): undefined reference to `__tracepoint_binder_ioctl'
ld: drivers/android/binder.o:(__jump_table+0xec): undefined reference to `__tracepoint_binder_ioctl_done'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_user_end':
drivers/android/binder_trace.h:378: undefined reference to `__tracepoint_binder_unmap_user_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_kernel_end':
drivers/android/binder_trace.h:386: undefined reference to `__tracepoint_binder_unmap_kernel_end'
ld: drivers/android/binder_trace.h:386: undefined reference to `__SCT__tp_func_binder_unmap_kernel_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_kernel_start':
drivers/android/binder_trace.h:382: undefined reference to `__tracepoint_binder_unmap_kernel_start'
ld: drivers/android/binder_trace.h:382: undefined reference to `__SCT__tp_func_binder_unmap_kernel_start'
>> ld: drivers/android/binder_trace.h:382: undefined reference to `__tracepoint_binder_unmap_kernel_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_kernel_end':
drivers/android/binder_trace.h:386: undefined reference to `__tracepoint_binder_unmap_kernel_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_user_end':
drivers/android/binder_trace.h:378: undefined reference to `__tracepoint_binder_unmap_user_end'
ld: drivers/android/binder_trace.h:378: undefined reference to `__SCT__tp_func_binder_unmap_user_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_unmap_user_start':
drivers/android/binder_trace.h:374: undefined reference to `__tracepoint_binder_unmap_user_start'
ld: drivers/android/binder_trace.h:374: undefined reference to `__SCT__tp_func_binder_unmap_user_start'
>> ld: drivers/android/binder_trace.h:374: undefined reference to `__tracepoint_binder_unmap_user_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_update_page_range':
drivers/android/binder_trace.h:314: undefined reference to `__tracepoint_binder_update_page_range'
ld: drivers/android/binder_trace.h:314: undefined reference to `__SCT__tp_func_binder_update_page_range'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_lru_end':
drivers/android/binder_trace.h:354: undefined reference to `__tracepoint_binder_alloc_lru_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_page_start':
drivers/android/binder_trace.h:366: undefined reference to `__tracepoint_binder_alloc_page_start'
ld: drivers/android/binder_trace.h:366: undefined reference to `__SCT__tp_func_binder_alloc_page_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_page_end':
drivers/android/binder_trace.h:370: undefined reference to `__tracepoint_binder_alloc_page_end'
ld: drivers/android/binder_trace.h:370: undefined reference to `__SCT__tp_func_binder_alloc_page_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_lru_end':
drivers/android/binder_trace.h:354: undefined reference to `__tracepoint_binder_alloc_lru_end'
ld: drivers/android/binder_trace.h:354: undefined reference to `__SCT__tp_func_binder_alloc_lru_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_lru_start':
drivers/android/binder_trace.h:350: undefined reference to `__tracepoint_binder_alloc_lru_start'
ld: drivers/android/binder_trace.h:350: undefined reference to `__SCT__tp_func_binder_alloc_lru_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_page_start':
drivers/android/binder_trace.h:366: undefined reference to `__tracepoint_binder_alloc_page_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_page_end':
drivers/android/binder_trace.h:370: undefined reference to `__tracepoint_binder_alloc_page_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_update_page_range':
drivers/android/binder_trace.h:314: undefined reference to `__tracepoint_binder_update_page_range'
ld: drivers/android/binder_alloc.o: in function `trace_binder_alloc_lru_start':
drivers/android/binder_trace.h:350: undefined reference to `__tracepoint_binder_alloc_lru_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_free_lru_start':
drivers/android/binder_trace.h:358: undefined reference to `__tracepoint_binder_free_lru_start'
ld: drivers/android/binder_trace.h:358: undefined reference to `__SCT__tp_func_binder_free_lru_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_free_lru_end':
drivers/android/binder_trace.h:362: undefined reference to `__tracepoint_binder_free_lru_end'
ld: drivers/android/binder_trace.h:362: undefined reference to `__SCT__tp_func_binder_free_lru_end'
ld: drivers/android/binder_alloc.o: in function `trace_binder_free_lru_start':
drivers/android/binder_trace.h:358: undefined reference to `__tracepoint_binder_free_lru_start'
ld: drivers/android/binder_alloc.o: in function `trace_binder_free_lru_end':
drivers/android/binder_trace.h:362: undefined reference to `__tracepoint_binder_free_lru_end'
ld: drivers/android/binder_alloc.o:(__jump_table+0x20): undefined reference to `__tracepoint_binder_unmap_user_start'
ld: drivers/android/binder_alloc.o:(__jump_table+0x2c): undefined reference to `__tracepoint_binder_unmap_user_end'
ld: drivers/android/binder_alloc.o:(__jump_table+0x44): undefined reference to `__tracepoint_binder_unmap_kernel_start'
ld: drivers/android/binder_alloc.o:(__jump_table+0x50): undefined reference to `__tracepoint_binder_unmap_kernel_end'
ld: drivers/android/binder_alloc.o:(__jump_table+0x5c): undefined reference to `__tracepoint_binder_update_page_range'
ld: drivers/android/binder_alloc.o:(__jump_table+0x80): undefined reference to `__tracepoint_binder_free_lru_start'
ld: drivers/android/binder_alloc.o:(__jump_table+0x8c): undefined reference to `__tracepoint_binder_alloc_page_start'
ld: drivers/android/binder_alloc.o:(__jump_table+0x98): undefined reference to `__tracepoint_binder_alloc_page_end'
ld: drivers/android/binder_alloc.o:(__jump_table+0xa4): undefined reference to `__tracepoint_binder_alloc_lru_start'
ld: drivers/android/binder_alloc.o:(__jump_table+0xb0): undefined reference to `__tracepoint_binder_alloc_lru_end'
ld: drivers/android/binder_alloc.o:(__jump_table+0xc8): undefined reference to `__tracepoint_binder_free_lru_end'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip