[PATCH v2 2/2] memstick: ms_block: add the missing newline to the parallel switch error
From: Ho Jie Feng
Date: Thu Dec 03 2026 - 11:45:37 EST
Allow printk to finalize the record immediately instead of waiting
for the next message with a newline.
Fixes: 0ab30494bc4f ("memstick: add support for legacy memorysticks")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Ho Jie Feng <hjf3108@xxxxxxxxx>
---
drivers/memstick/core/ms_block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
index d3cae3a40dca2..1ef0811de0d9d 100644
--- a/drivers/memstick/core/ms_block.c
+++ b/drivers/memstick/core/ms_block.c
@@ -778,7 +778,7 @@ static int msb_switch_to_parallel(struct msb_data *msb)
error = msb_run_state_machine(msb, h_msb_parallel_switch);
if (error) {
- pr_err("Switch to parallel failed");
+ pr_err("Switch to parallel failed\n");
msb->regs.param.system &= ~MEMSTICK_SYS_PAM;
msb_reset(msb, true);
return -EFAULT;
--
2.56.1