Messages in this thread | | | Subject | Re: [PATCH -next] misc: watch_queue: Fix build error | From | Yuehaibing <> | Date | Tue, 8 Oct 2019 14:43:17 +0800 |
| |
On 2019/9/4 20:20, David Howells wrote: > Thanks, I've folded that in.
This issue still occur in linux-next 20191008 :
drivers/misc/watch_queue.c: In function ‘watch_queue_account_mem’: drivers/misc/watch_queue.c:315:38: error: ‘struct user_struct’ has no member named ‘locked_vm’; did you mean ‘locked_shm’? cur_pages = atomic_long_read(&user->locked_vm); ^~~~~~~~~ locked_shm drivers/misc/watch_queue.c:321:50: error: ‘struct user_struct’ has no member named ‘locked_vm’; did you mean ‘locked_shm’? } while (atomic_long_try_cmpxchg_relaxed(&user->locked_vm, &cur_pages, ^~~~~~~~~ locked_shm drivers/misc/watch_queue.c: In function ‘watch_queue_unaccount_mem’: drivers/misc/watch_queue.c:333:44: error: ‘struct user_struct’ has no member named ‘locked_vm’; did you mean ‘locked_shm’? atomic_long_sub(wqueue->nr_pages, &user->locked_vm); ^~~~~~~~~ locked_shm scripts/Makefile.build:265: recipe for target 'drivers/misc/watch_queue.o' failed
> > David > > . >
| |