lkml.org 
[lkml]   [2019]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -next] misc: watch_queue: Fix build error
From
Date
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
>
> .
>

\
 
 \ /
  Last update: 2019-10-08 08:44    [W:0.063 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site