]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: ivtv: update *pos correctly in ivtv_read_pos()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Feb 2019 06:36:41 +0000 (01:36 -0500)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitd42cb571a751849f8fdf44441350dd96a6b80821
tree737266b45413455e0f723e1ca82f03ad9d60fb1d
parentc901cc15a49ce134827d5f34e74f2e70a55ac36b
media: ivtv: update *pos correctly in ivtv_read_pos()

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit f8e579f3ca0973daef263f513da5edff520a6c0d ]

We had intended to update *pos, but the current code is a no-op.

Fixes: 1a0adaf37c30 ("V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/pci/ivtv/ivtv-fileops.c