Re: [PATCH v4] rust: add global lock support
From: Benno Lossin
Date: Thu Oct 10 2024 - 18:15:09 EST
On 10.10.24 16:01, Andreas Hindborg wrote:
> "Benno Lossin" <benno.lossin@xxxxxxxxx> writes:
>
>>
>> Also,
>>
>> error: type `__static_lock_ty_VALUE` should have an upper camel case name
>> --> rust/kernel/sync/lock/global.rs:100:18
>> |
>> 100 | type [< __static_lock_ty_ $name >] = $valuety;
>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StaticLockTyValue`
>>
>
> How did you manage to get these errors?
I added a `global_lock!` invocation to `lib.rs`. Otherwise I also don't
get them (they might also be emitted from the examples, but I didn't
compile those).
---
Cheers,
Benno