diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-10-23 04:47:32 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-23 23:47:39 +0200 |
commit | 18b341b76cd99ce949806ccf5565900465ec2e7f (patch) | |
tree | b0c0985a190827df929f583bd7bc164ca4020d9c /drivers/pci/hotplug/pciehp.h | |
parent | PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems (diff) | |
download | linux-18b341b76cd99ce949806ccf5565900465ec2e7f.tar.xz linux-18b341b76cd99ce949806ccf5565900465ec2e7f.zip |
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 a4817a841fae..b2801a7ee37f 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; } |