iommu: Suppress empty whitespaces in prints
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 9 May 2023 19:10:48 +0000 (12:10 -0700)
committerJoerg Roedel <jroedel@suse.de>
Mon, 22 May 2023 15:41:51 +0000 (17:41 +0200)
commit32261d10943b7fffa864f9a532e2b40a813df79b
tree772f73044aa8c13870b6ba8f7f83ccaa5f544d1c
parenta4fdd976227240b06ced89b5df88a1a1f388f092
iommu: Suppress empty whitespaces in prints

If IOMMU_CMD_LINE_DMA_API or IOMMU_CMD_LINE_STRICT are not set in
iommu_cmd_line, we will be emitting a whitespace before the newline.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230509191049.1752259-1-f.fainelli@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c