[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5f6acfef-2eda-e33a-f7cb-37f3735e60a0@huawei.com>
Date: Tue, 8 Oct 2019 14:43:17 +0800
From: Yuehaibing <yuehaibing@...wei.com>
To: David Howells <dhowells@...hat.com>
CC: <jannh@...gle.com>, <axboe@...nel.dk>,
<james.morris@...rosoft.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] misc: watch_queue: Fix build error
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
>
> .
>
Powered by blists - more mailing lists