patch-2.2.16 linux/arch/ppc/8xx_io/uart.c
Next file: linux/arch/ppc/config.in
Previous file: linux/arch/mips/config.in
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Wed Jun  7 14:26:42 2000
 -  Orig file: 
v2.2.15/linux/arch/ppc/8xx_io/uart.c
 -  Orig date: 
Wed Dec 23 09:44:40 1998
 
diff -urN v2.2.15/linux/arch/ppc/8xx_io/uart.c linux/arch/ppc/8xx_io/uart.c
@@ -2050,7 +2050,7 @@
 done:
 	if (off >= len+begin)
 		return 0;
-	*start = page + (begin-off);
+	*start = page + (off-begin);
 	return ((count < begin+len-off) ? count : begin+len-off);
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)