Skip to content

Driver message cleanups

Joerg Roedel linux-iommu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/amd: Use pr_fmt()drivers/iommu/amd_iommu.c drivers/iommu/amd_iommu_init.c drivers/iommu/amd_iommu_v2.c+55 -490 replies
2/3iommu/amd: Fix line-break in error log reportingdrivers/iommu/amd_iommu.c+10 -120 replies
3/3iommu/amd: Remove leading 0s in error log messagesdrivers/iommu/amd_iommu.c+10 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Driver message cleanups

Hi,

here are a couple of patches to clean up the message printing in the AMD IOMMU driver a bit. The patches switch the driver to use pr_fmt() instead of inconsistently open coding the 'AMD-Vi' prefix in error messages. Furhter the Event log messages are fixed and contain no newline anymore. The addresses in the event log messages got rid of the leading 0s to make the messages shorter.

Regards,

Joerg

Joerg Roedel (3):
iommu/amd: Use pr_fmt()
iommu/amd: Fix line-break in error log reporting iommu/amd: Remove leading 0s in error log messages

 drivers/iommu/amd_iommu.c      | 62 ++++++++++++++++----------------
 drivers/iommu/amd_iommu_init.c | 64 ++++++++++++++++++----------------
 drivers/iommu/amd_iommu_v2.c   |  2 ++
 3 files changed, 66 insertions(+), 62 deletions(-)
Signature · 1 line
2.17.1