Re: Linux 2.4.19pre1-ac1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 28 Feb 2002 01:02:16 +0000 (GMT)


> + if ( !vma || (pages && vma->vm_flags & VM_IO) || !(flags &
> vma->vm_flags) )
> + return i ? : -EFAULT;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <- This looks somewhat bogus,
> shouldn't it be "return i ? i : -EFAULT;" instead?

Its the same thing - its an ugly Gcc extension.

One other person who reported the problem reports 2.4.18-ac2 is ok, in
which case it might be the slight mismerge in ac1 tho I'm puzzled why.
Certainly my testing here is behaving so far
-
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/