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:
Philipp Schuster
2025-05-21 12:31:59 +02:00
committed by Rob Bradford
parent 192b19c060
commit a3692144f0
6 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -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),
}