Commit b1a39a7
KVM: Convert comment into an assertion in kvm_io_bus_register_dev()
Instead of having a comment indicating the need to hold slots_lock
when calling kvm_io_bus_register_dev(), make it explicit with
a lockdep assertion.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231207151201.3028710-6-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>1 parent 6bef365 commit b1a39a7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5545 | 5545 | | |
5546 | 5546 | | |
5547 | 5547 | | |
5548 | | - | |
5549 | 5548 | | |
5550 | 5549 | | |
5551 | 5550 | | |
5552 | 5551 | | |
5553 | 5552 | | |
5554 | 5553 | | |
5555 | 5554 | | |
| 5555 | + | |
| 5556 | + | |
5556 | 5557 | | |
5557 | 5558 | | |
5558 | 5559 | | |
| |||
0 commit comments