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:
pgp394w5CYDLm.pgp
Description: OpenPGP digital signature