Re: [patch] fbmem.c in 2.3.25-3

Peter Samuelson (peter@wire.cadcamlab.org)
Sun, 31 Oct 1999 02:57:22 -0600 (CST)


[Leiden, Soren]
> len = (len+~PAGE_MASK) & PAGE_MASK;
> - if (vma->vm_offset >= len) {
> + if (vma->vm_pgoff >= len) {

No, you can't just do a s/vm_offset/vm_pgoff/g -- it wasn't a simple
name-change. vm_pgoff is bit-shifted. Your patch only hides the bug.

Peter

-
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/