Re: [PATCH] mm: gup: fix access_ok() argument type

2017-04-23 Thread Ingo Molnar
* Arnd Bergmann wrote: > MIPS just got changed to only accept a pointer argument for access_ok(), > causing one warning in drivers/scsi/pmcraid.c. I tried changing x86 > the same way and found the same warning in __get_user_pages_fast() > and nowhere else in the kernel during

Re: [PATCH] mm: gup: fix access_ok() argument type

2017-04-23 Thread Ingo Molnar
* Arnd Bergmann wrote: > MIPS just got changed to only accept a pointer argument for access_ok(), > causing one warning in drivers/scsi/pmcraid.c. I tried changing x86 > the same way and found the same warning in __get_user_pages_fast() > and nowhere else in the kernel during randconfig

[PATCH] mm: gup: fix access_ok() argument type

2017-04-21 Thread Arnd Bergmann
MIPS just got changed to only accept a pointer argument for access_ok(), causing one warning in drivers/scsi/pmcraid.c. I tried changing x86 the same way and found the same warning in __get_user_pages_fast() and nowhere else in the kernel during randconfig testing: mm/gup.c: In function

[PATCH] mm: gup: fix access_ok() argument type

2017-04-21 Thread Arnd Bergmann
MIPS just got changed to only accept a pointer argument for access_ok(), causing one warning in drivers/scsi/pmcraid.c. I tried changing x86 the same way and found the same warning in __get_user_pages_fast() and nowhere else in the kernel during randconfig testing: mm/gup.c: In function