mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: pci: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
192b19c060
commit
a3692144f0
+2
-2
@@ -39,9 +39,9 @@ pub fn msi_num_enabled_vectors(msg_ctl: u16) -> usize {
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("Failed enabling the interrupt route: {0}")]
|
||||
#[error("Failed enabling the interrupt route")]
|
||||
EnableInterruptRoute(#[source] io::Error),
|
||||
#[error("Failed updating the interrupt route: {0}")]
|
||||
#[error("Failed updating the interrupt route")]
|
||||
UpdateInterruptRoute(#[source] io::Error),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user