linux_dsm_epyc7002/drivers/media/usb/gspca
Hans Verkuil f96d84488f media: gspca: fix frame overflow error
When converting gspca to vb2 I missed that fact that the buffer sizes
were rounded up to the next page size. As a result some gspca drivers
(spca561 being one of them) reported frame overflows.

Modify the code to align the buffer sizes to the next page size, just
as the original code did.

Fixes: 1f5965c4df ("media: gspca: convert to vb2")
Tested-off-by: Hans Verkuil <hans.verkuil@cisco.com>

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: softwarebugs <softwarebugs@protonmail.com>
Cc: <stable@vger.kernel.org>      # for v4.18 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-22 13:44:38 -05:00
..
gl860
m5602 media: v4l: fix broken video4linux docs locations 2018-06-15 18:10:01 -03:00
stv06xx
autogain_functions.c
benq.c
conex.c
cpia1.c
dtcs033.c
etoms.c
finepix.c
gspca.c media: gspca: fix frame overflow error 2018-11-22 13:44:38 -05:00
gspca.h media: gspca: convert to vb2 2018-05-28 15:57:17 -04:00
jeilinj.c
jl2005bcd.c
jpeg.h
Kconfig media: gspca: convert to vb2 2018-05-28 15:57:17 -04:00
kinect.c media: gspca_kinect: cast sizeof to int for comparison 2018-07-25 08:35:12 -04:00
konica.c
Makefile
mars.c
mr97310a.c
nw80x.c
ov519.c
ov534_9.c
ov534.c media: gspca: fix g/s_parm handling 2018-05-28 16:02:45 -04:00
pac207.c
pac7302.c
pac7311.c
pac_common.h
se401.c
se401.h
sn9c20x.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
sn9c2028.c
sn9c2028.h
sonixb.c
sonixj.c
spca500.c
spca501.c
spca505.c
spca506.c
spca508.c
spca561.c
spca1528.c
sq905.c
sq905c.c
sq930x.c media: gspca: sq930x: use GFP_KERNEL in sd_dq_callback() 2018-09-12 08:01:30 -04:00
stk014.c
stk1135.c
stk1135.h
stv0680.c
sunplus.c
t613.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
topro.c media: gspca: fix g/s_parm handling 2018-05-28 16:02:45 -04:00
touptek.c
tv8532.c
vc032x.c media: gspca: convert to vb2 2018-05-28 15:57:17 -04:00
vicam.c
w996Xcf.c
xirlink_cit.c
zc3xx-reg.h
zc3xx.c media: gspca_zc3xx: Enable short exposure times for OV7648 2018-05-28 16:35:41 -04:00