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
@@ -31,10 +31,10 @@ pub const MSIX_CONFIG_ID: &str = "msix_config";
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
/// Failed enabling the interrupt route.
|
||||
#[error("Failed enabling the interrupt route: {0}")]
|
||||
#[error("Failed enabling the interrupt route")]
|
||||
EnableInterruptRoute(#[source] io::Error),
|
||||
/// Failed updating the interrupt route.
|
||||
#[error("Failed updating the interrupt route: {0}")]
|
||||
#[error("Failed updating the interrupt route")]
|
||||
UpdateInterruptRoute(#[source] io::Error),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user