Re: [PATCH v3] ANDROID: binder: change down_write to down_read

From: Fengguang Wu
Date: Thu Mar 29 2018 - 22:15:38 EST


On Fri, Mar 30, 2018 at 09:37:36AM +0900, Minchan Kim wrote:
On Fri, Mar 30, 2018 at 07:42:37AM +0800, kbuild test robot wrote:
Hi Minchan,

I love your patch! Yet something to improve:

Glad to hear.
It's first time someone loves my patch. ;-)

FYI, that message originates from Linus. :-)

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.16-rc7 next-20180329]
[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/Minchan-Kim/ANDROID-binder-change-down_write-to-down_read/20180330-043057
config: x86_64-randconfig-x014-201812 (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=x86_64

All errors (new ones prefixed by >>):

drivers//android/binder.c: In function 'binder_mmap':
>> drivers//android/binder.c:4725:24: error: 'struct vm_area_struct' has no member named 'flags'; did you mean 'vm_flags'?
vma->vm_flags = (vma->flags | VM_DONTCOPY | VM_MIXEDMAP) &
^~~~~
vm_flags

http://lkml.kernel.org/r/<20180329065424.203172-1-minchan@xxxxxxxxxx>

This time, I was little bit fast. :)

Hurrah, quick hands! :)

Cheers,
Fengguang