diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-10-23 02:47:32 (GMT) |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-23 21:47:39 (GMT) |
commit | 18b341b76cd99ce949806ccf5565900465ec2e7f (patch) | |
tree | b0c0985a190827df929f583bd7bc164ca4020d9c /drivers/pci/hotplug/pciehp.h | |
parent | 8113587c2d14d3be2414190845b2e2617c0aa33b (diff) | |
download | linux-fsl-qoriq-18b341b76cd99ce949806ccf5565900465ec2e7f.tar.xz |
PCI hotplug: pciehp: message refinement
This patch refines messages in pciehp module. The main changes are as
follows:
- remove the trailing "."
- remove __func__ as much as possible
- capitalize the first letter of messages
- show PCI device address including its domain
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index a4817a8..b2801a7 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h @@ -188,7 +188,7 @@ static inline struct slot *pciehp_find_slot(struct controller *ctrl, u8 device) return slot; } - ctrl_err(ctrl, "%s: slot (device=0x%x) not found\n", __func__, device); + ctrl_err(ctrl, "Slot (device=0x%02x) not found\n", device); return NULL; } |