Skip to contentSkip to conversation

2.5.21 - end_request warning.

PATCH Martin Schwidefsky 1 participant 1 message Jun 10, 2002 Block layer

lore
Share & tools
lore
#0 lore raw

Hi,
another small thing. The end_request error message should be marked with KERN_ERR.

blue skies,
Martin.

drivers/block/ll_rw_blk.c +1 -1
diff -urN linux-2.5.21/drivers/block/ll_rw_blk.c linux-2.5.21-s390/drivers/block/ll_rw_blk.c
@@ -1879,7 +1879,7 @@
 
 	req->errors = 0;
 	if (!uptodate)
-		printk("end_request: I/O error, dev %s, sector %lu\n",
+		printk(KERN_ERR "end_request: I/O error, dev %s, sector %lu\n",
 			kdevname(req->rq_dev), req->sector);
 
 	total_nsect = 0;