mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-05 17:43:09 -05:00
PCI/PTM: Remove spurious "d" from granularity message
The granularity message has an extra "d":
pci 0000:02:00.0: PTM enabled, 4dns granularity
Remove the "d" so the message is simply "PTM enabled, 4ns granularity".
Fixes: 8b2ec318ee ("PCI: Add PTM clock granularity information")
Link: https://lore.kernel.org/r/20191106222420.10216-2-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Cc: Jonathan Yong <jonathan.yong@intel.com>
This commit is contained in:
@@ -21,7 +21,7 @@ static void pci_ptm_info(struct pci_dev *dev)
|
||||
snprintf(clock_desc, sizeof(clock_desc), ">254ns");
|
||||
break;
|
||||
default:
|
||||
snprintf(clock_desc, sizeof(clock_desc), "%udns",
|
||||
snprintf(clock_desc, sizeof(clock_desc), "%uns",
|
||||
dev->ptm_granularity);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user