lkml.org 
[lkml]   [1997]   [Jan]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromKeith Owens <>
Subject2.1.21-patch_drivers_block-1
DateWed, 15 Jan 1997 18:21:58 +1100
Remove warning from ps2esdi.c.

diff -ur linux-2.1.21.orig/drivers/block/ps2esdi.c linux/drivers/block/ps2esdi.c
--- linux-2.1.21.orig/drivers/block/ps2esdi.c	Fri Dec 13 01:51:08 1996
+++ linux/drivers/block/ps2esdi.c	Wed Jan 15 13:47:35 1997
@@ -431,7 +431,7 @@
 	   list + sanity checks.                     */
 	INIT_REQUEST;
 
-	if (virt_to_bus((u_int) CURRENT->buffer + CURRENT->nr_sectors * 512) > 16 * MB) {
+	if (virt_to_bus(CURRENT->buffer + CURRENT->nr_sectors * 512) > 16 * MB) {
 		printk("%s: DMA above 16MB not supported\n", DEVICE_NAME);
 		end_request(FAIL);
 		if (CURRENT)


\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008