diff options
author | Robert Richter <robert.richter@linaro.org> | 2013-10-10 18:22:36 +0200 |
---|---|---|
committer | Robert Richter <rric@kernel.org> | 2013-11-05 00:01:09 +0100 |
commit | 7270a6085a20a9c6aecb0be8c70510702118dc71 (patch) | |
tree | dd44024ed22c319791288f6f229eff9e8f9ce001 /drivers/edac/edac_pci.c | |
parent | edac, highbank: Improve and unify naming (diff) | |
download | linux-7270a6085a20a9c6aecb0be8c70510702118dc71.tar.xz linux-7270a6085a20a9c6aecb0be8c70510702118dc71.zip |
edac: Unify reporting of device info for device, mc and pci
Log messages slightly differ between edac subsystems. Unifying it.
Signed-off-by: Robert Richter <robert.richter@linaro.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Robert Richter <rric@kernel.org>
Diffstat (limited to 'drivers/edac/edac_pci.c')
-rw-r--r-- | drivers/edac/edac_pci.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/edac/edac_pci.c b/drivers/edac/edac_pci.c index dd370f92ace3..2cf44b4db80c 100644 --- a/drivers/edac/edac_pci.c +++ b/drivers/edac/edac_pci.c @@ -358,11 +358,9 @@ int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx) } edac_pci_printk(pci, KERN_INFO, - "Giving out device to module '%s' controller '%s':" - " DEV '%s' (%s)\n", - pci->mod_name, - pci->ctl_name, - edac_dev_name(pci), edac_op_state_to_string(pci->op_state)); + "Giving out device to module %s controller %s: DEV %s (%s)\n", + pci->mod_name, pci->ctl_name, pci->dev_name, + edac_op_state_to_string(pci->op_state)); mutex_unlock(&edac_pci_ctls_mutex); return 0; |