Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be5ac3d3 authored by Lance Ortiz's avatar Lance Ortiz Committed by Bjorn Helgaas
Browse files

PCI/AER: Print completion message at KERN_INFO to match starting message



The completion message in do_recovery() is currently KERN_DEBUG,
while the starting message in aer_print_port_info() is KERN_INFO.
This changes the completion message to KERN_INFO to match the
starting message.

[bhelgaas: changelog, use dev_info() instead of dev_printk(KERN_INFO)]
Signed-off-by: default avatarLance Ortiz <lance.ortiz@hp.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ceaf5b5f
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -540,14 +540,12 @@ static void do_recovery(struct pci_dev *dev, int severity)
				"resume",
				"resume",
				report_resume);
				report_resume);


	dev_printk(KERN_DEBUG, &dev->dev,
	dev_info(&dev->dev, "AER: Device recovery successful\n");
		"AER driver successfully recovered\n");
	return;
	return;


failed:
failed:
	/* TODO: Should kernel panic here? */
	/* TODO: Should kernel panic here? */
	dev_printk(KERN_DEBUG, &dev->dev,
	dev_info(&dev->dev, "AER: Device recovery failed\n");
		"AER driver didn't recover\n");
}
}


/**
/**