Re: [PATCH] staging: android: ion: reduce lock contention latency

From: kbuild test robot
Date: Thu Mar 16 2017 - 14:59:33 EST


Hi Junil,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.11-rc2 next-20170310]
[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/Junil-Lee/staging-android-ion-reduce-lock-contention-latency/20170317-021346
config: x86_64-randconfig-x004-201711 (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=x86_64

All errors (new ones prefixed by >>):

drivers/staging/android/ion/ion_page_pool.c: In function 'ion_page_pool_remove':
>> drivers/staging/android/ion/ion_page_pool.c:68:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
node = llist_entry((struct list_head *)node, struct page, lru);
^
drivers/staging/android/ion/ion_page_pool.c:74:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
node = llist_entry((struct list_head *)node, struct page, lru);
^
cc1: some warnings being treated as errors

vim +68 drivers/staging/android/ion/ion_page_pool.c

62 struct llist_node *node;
63
64 if (high) {
65 BUG_ON(!atomic_read(&pool->high_count));
66 node = llist_del_first(&pool->high_items);
67 if (node)
> 68 node = llist_entry((struct list_head *)node, struct page, lru);
69 atomic_dec(&pool->high_count);
70 } else {
71 BUG_ON(!atomic_read(&pool->low_count));

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

Attachment: .config.gz
Description: application/gzip