mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-03-29 13:30:27 +02:00
When allocating `struct gendisk`, `GenDiskBuilder` is using a dynamic
lock class key without registering the key. This is an incorrect use of
the API, which causes a `WARN` trace.
Fix the issue by using a static lock class key, which is more appropriate
for the situation anyway.
Fixes:
|
||
|---|---|---|
| .. | ||
| mq | ||
| mq.rs | ||