lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix ftape compile problem in 2.3.25
This patch fixes the ftape driver so that it will compile
in 2.3.25 -- the vm_offset rename broke it slightly.

/Mikael

--- linux-2.3.25/drivers/char/ftape/lowlevel/ftape-ctl.c.~1~ Sat Jan 24 02:38:04 1998
+++ linux-2.3.25/drivers/char/ftape/lowlevel/ftape-ctl.c Wed Nov 3 13:45:11 1999
@@ -704,8 +704,8 @@
if ((vma_get_flags(vma) & (VM_READ|VM_WRITE)) == 0) {
TRACE_ABORT(-EINVAL, ft_t_err, "Undefined mmap() access");
}
- if (vma_get_offset (vma) != 0) {
- TRACE_ABORT(-EINVAL, ft_t_err, "offset must be 0");
+ if (vma_get_pgoff(vma) != 0) {
+ TRACE_ABORT(-EINVAL, ft_t_err, "page offset must be 0");
}
if ((vma_get_end (vma) - vma_get_start (vma)) % FT_BUFF_SIZE != 0) {
TRACE_ABORT(-EINVAL, ft_t_err,
-
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:54    [W:0.277 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site