IDE: kill warning
diff mbox series

Message ID 200209282042.g8SKgaJw001503@callisto.of.borg
State New, archived
Headers show
Series
  • IDE: kill warning
Related show

Commit Message

Geert Uytterhoeven Sept. 28, 2002, 8:42 p.m. UTC
IDE: kill warning


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

Patch
diff mbox series

--- linux-2.5.44/drivers/ide/ide-lib.c	Sat Sep 28 14:56:40 2002
+++ linux-m68k-2.5.44/drivers/ide/ide-lib.c	Thu Oct 10 21:42:30 2002
@@ -171,7 +171,7 @@ 
 		BUG();
 	return min(speed, speed_max[mode]);
 #else /* !CONFIG_BLK_DEV_IDEDMA */
-	return min(speed, XFER_PIO_4);
+	return min(speed, (u8)XFER_PIO_4);
 #endif /* CONFIG_BLK_DEV_IDEDMA */
 }