PCI/AER: Use dev_warn() in aer_inject
authorJean Delvare <jdelvare@suse.de>
Thu, 18 Feb 2016 12:52:01 +0000 (13:52 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Mar 2016 21:50:42 +0000 (15:50 -0600)
commit3bc11851413fcf58f6a2d8f69346609c9db339ed
treebc20449b6152fba2245a0d20bfb67efcf078e307
parent20ac75e563d09f56fb00caa25a3afdb88573472d
PCI/AER: Use dev_warn() in aer_inject

dev_warn() is better than printk(LOG_WARNING...) as it records which device
the message relates to.  Also add a prefix "aer_inject:" to help
differentiate real errors from injected errors.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Borislav Petkov <bp@suse.de>
drivers/pci/pcie/aer/aer_inject.c