dmaengine: pl330: fix instruction dump formatting
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 13 Aug 2020 20:41:23 +0000 (22:41 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Aug 2020 11:11:26 +0000 (16:41 +0530)
Instruction dump uses two printk() in a row to print one instruction. Use
KERN_CONT to prevent breaking the output in the middle.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20200813204123.19044-1-l.stelmach@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c

index 2c508ee..591867e 100644 (file)
@@ -255,7 +255,7 @@ enum pl330_byteswap {
 static unsigned cmd_line;
 #define PL330_DBGCMD_DUMP(off, x...)   do { \
                                                printk("%x:", cmd_line); \
-                                               printk(x); \
+                                               printk(KERN_CONT x); \
                                                cmd_line += off; \
                                        } while (0)
 #define PL330_DBGMC_START(addr)                (cmd_line = addr)