Re: linux-next: Tree for Feb 12 (drivers/md/dm-vdo/thread-registry.c on arch/loongarch/)

From: Stephen Rothwell
Date: Mon Feb 12 2024 - 16:14:01 EST


Hi all,

On Mon, 12 Feb 2024 12:33:08 -0800 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> on loongarch:
>
> ../drivers/md/dm-vdo/thread-registry.c: In function 'vdo_register_thread':
> ../drivers/md/dm-vdo/thread-registry.c:32:28: error: 'current' undeclared (first use in this function)
> 32 | new_thread->task = current;
> | ^~~~~~~
> ../drivers/md/dm-vdo/thread-registry.c:32:28: note: each undeclared identifier is reported only once for each function it appears in
> ../drivers/md/dm-vdo/thread-registry.c: In function 'vdo_unregister_thread':
> ../drivers/md/dm-vdo/thread-registry.c:61:37: error: 'current' undeclared (first use in this function)
> 61 | if (thread->task == current) {
> | ^~~~~~~
> ../drivers/md/dm-vdo/thread-registry.c: In function 'vdo_lookup_thread':
> ../drivers/md/dm-vdo/thread-registry.c:84:37: error: 'current' undeclared (first use in this function)
> 84 | if (thread->task == current) {
> | ^~~~~~~

Caused by commit

bf28b754d024 ("dm vdo: add thread and synchronization utilities")

from the device-mapper tree.

--
Cheers,
Stephen Rothwell

Attachment: pgpM643MeZXFc.pgp
Description: OpenPGP digital signature