Re: [PATCH] staging: android: ion: add buffer flag update ioctl

From: kbuild test robot
Date: Wed Dec 19 2018 - 10:42:13 EST


Hi Zeng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.20-rc7 next-20181219]
[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/Zeng-Tao/staging-android-ion-add-buffer-flag-update-ioctl/20181219-231147
config: i386-randconfig-x079-201850 (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 >>):

In file included from drivers/staging/android/ion/ion.h:22:0,
from drivers/staging/android/ion/ion.c:30:
>> drivers/staging/android/ion/../uapi/ion.h:99:1: error: expected ';', identifier or '(' before 'struct'
struct ion_heap_data {
^~~~~~

vim +99 drivers/staging/android/ion/../uapi/ion.h

02b23803 Laura Abbott 2016-09-07 92
02b23803 Laura Abbott 2016-09-07 93 /**
02b23803 Laura Abbott 2016-09-07 94 * struct ion_heap_data - data about a heap
02b23803 Laura Abbott 2016-09-07 95 * @name - first 32 characters of the heap name
02b23803 Laura Abbott 2016-09-07 96 * @type - heap type
02b23803 Laura Abbott 2016-09-07 97 * @heap_id - heap id for the heap
02b23803 Laura Abbott 2016-09-07 98 */
02b23803 Laura Abbott 2016-09-07 @99 struct ion_heap_data {
02b23803 Laura Abbott 2016-09-07 100 char name[MAX_HEAP_NAME];
02b23803 Laura Abbott 2016-09-07 101 __u32 type;
02b23803 Laura Abbott 2016-09-07 102 __u32 heap_id;
02b23803 Laura Abbott 2016-09-07 103 __u32 reserved0;
02b23803 Laura Abbott 2016-09-07 104 __u32 reserved1;
02b23803 Laura Abbott 2016-09-07 105 __u32 reserved2;
02b23803 Laura Abbott 2016-09-07 106 };
02b23803 Laura Abbott 2016-09-07 107

:::::: The code at line 99 was first introduced by commit
:::::: 02b23803c6af399473703e26703f74cfff3f22f8 staging: android: ion: Add ioctl to query available heaps

:::::: TO: Laura Abbott <labbott@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip