lkml.org 
[lkml]   [1998]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectSmall patch for sd.c:requeue_sd_request
From
Date
Here is a trivial patch for requeue_sd_request that just fixes one
debugging message. The argument of sd_devname is supposed to be the SCSI
disk number without partition, ie. minor/16.


--- linux/drivers/scsi/sd.c.~1~ Wed Sep 30 10:58:33 1998
+++ linux/drivers/scsi/sd.c Wed Sep 30 10:59:35 1998
@@ -675,7 +675,7 @@
goto repeat;
}

- sd_devname(devm, nbuff);
+ sd_devname(devm >> 4, nbuff);
SCSI_LOG_HLQUEUE(2,printk("%s : real dev = /dev/%d, block = %d\n",
nbuff, dev, block));

--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.032 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site