aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDonald Dutile <[email protected]>2012-06-08 21:13:11 +0000
committerIngo Molnar <[email protected]>2012-06-11 08:27:44 +0000
commite9071b0be5e7ce4903b7f7c370769d485774d3e3 (patch)
tree06b1a1adfe2f807d28e9b3ab6cf2b56f6744bc4c /tools/perf/util/trace-event-scripting.c
parentiommu/dmar: Reserve mmio space used by the IOMMU, if the BIOS forgets to (diff)
downloadkernel-e9071b0be5e7ce4903b7f7c370769d485774d3e3.tar.gz
kernel-e9071b0be5e7ce4903b7f7c370769d485774d3e3.zip
iommu/dmar: Use pr_format() instead of PREFIX to tidy up pr_*() calls
Joe Perches recommended getting rid of the redundant formatting of adding "PREFIX" to all the uses of pr_*() calls. The recommendation helps to reduce source and improve readibility. While cleaning up the PREFIX's, I saw that one of the pr_warn() was redundant in dmar_parse_one_dev_scope(), since the same message was printed after breaking out of the while loop for the same condition, !pdev. So, to avoid a duplicate message, I removed the one in the while loop. Reported-by: Joe Perches <[email protected]> Signed-off-by: Donald Dutile <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] [ Small whitespace fixes. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions