[PATCH] floppy: Add floppy prefix to pr_info

From: Corentin Labbe
Date: Fri Jul 28 2017 - 03:27:26 EST


When booting a qemu virtual machine I got in dmesg the following message
alone: "work still pending".
Without prefix, it is hard to know which subsystem got work pending.

This patch add a "floppy:" prefix to this message.

Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
---
drivers/block/floppy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 9c00f29e40c1..61eb80c8894b 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4872,7 +4872,7 @@ static void floppy_release_irq_and_dma(void)
if (delayed_work_pending(&fd_timer))
pr_info("auxiliary floppy timer still active\n");
if (work_pending(&floppy_work))
- pr_info("work still pending\n");
+ pr_info("floppy: work still pending\n");
old_fdc = fdc;
for (fdc = 0; fdc < N_FDC; fdc++)
if (FDCS->address != -1)
--
2.13.0