mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-04 17:02:36 +00:00
devices: fix a clippy warning
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
ac0aa8aa5e
commit
f42c6d567d
|
@ -372,7 +372,7 @@ impl BusDevice for Pl011 {
|
||||||
UARTIFLS => self.ifl,
|
UARTIFLS => self.ifl,
|
||||||
UARTIMSC => self.int_enabled,
|
UARTIMSC => self.int_enabled,
|
||||||
UARTRIS => self.int_level,
|
UARTRIS => self.int_level,
|
||||||
UARTMIS => (self.int_level & self.int_enabled),
|
UARTMIS => self.int_level & self.int_enabled,
|
||||||
UARTDMACR => self.dmacr,
|
UARTDMACR => self.dmacr,
|
||||||
UARTDEBUG => self.debug,
|
UARTDEBUG => self.debug,
|
||||||
_ => {
|
_ => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user