Re: [PATCH v3] asm-generic: {get,put}_user ptr argument evaluate only 1 time

2015-07-21 Thread Yoshinori Sato
On Tue, 21 Jul 2015 23:06:13 +0900, David Howells wrote: > > Yoshinori Sato wrote: > > > #define get_user(x, ptr) \ > > ({ \ > > + uintptr_t __uip = (uintptr_t)(ptr); \ > > const?

Re: [PATCH v3] asm-generic: {get,put}_user ptr argument evaluate only 1 time

2015-07-21 Thread David Howells
Yoshinori Sato wrote: > #define get_user(x, ptr) \ > ({ \ > + uintptr_t __uip = (uintptr_t)(ptr); \ const? > might_fault(); \ >