提交 112ec61b 编写于 作者: Ł Łukasz Stelmach 提交者: Vinod Koul

dmaengine: pl330: fix instruction dump formatting

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: NŁukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20200813204123.19044-1-l.stelmach@samsung.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 6139521d
...@@ -255,7 +255,7 @@ enum pl330_byteswap { ...@@ -255,7 +255,7 @@ enum pl330_byteswap {
static unsigned cmd_line; static unsigned cmd_line;
#define PL330_DBGCMD_DUMP(off, x...) do { \ #define PL330_DBGCMD_DUMP(off, x...) do { \
printk("%x:", cmd_line); \ printk("%x:", cmd_line); \
printk(x); \ printk(KERN_CONT x); \
cmd_line += off; \ cmd_line += off; \
} while (0) } while (0)
#define PL330_DBGMC_START(addr) (cmd_line = addr) #define PL330_DBGMC_START(addr) (cmd_line = addr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册