Fixes vma problem on Redhat 9 kernel-2.4.20.
Previous patch #724099 does not include vma in kernel
.._mmap callback function.
This patch adds vma to mmap callback function
quickcam::quickcam_mmap.
Compiles and loads OK on Redhat 9.0 using Quickcam
Express w/HDC1000 sensor.
Module works OK, but get some messages in the kernel log:
: quickcam: warning -> frame overflow (44)
: quickcam: frame size is incorrect! (214)
: quickcam: warning -> frame overflow (45)
Redhat 9 vma patch.
Logged In: YES
user_id=638161
Thanks, but standard 2.4.20 does *not* use the vma argument with
remap_page_range and others, so testing for kernel version doesn't
suffice. It's Redhat-specific thing, and a good way to test for this would
be welcomed. If someone finds one, please send to devel mailing list
(not here).