lkml.org 
[lkml]   [2017]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] floppy: Add floppy prefix to pr_info
Date
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@gmail.com>
---
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
\
 
 \ /
  Last update: 2017-07-28 09:27    [W:0.063 / U:4.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site