aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-dev.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-11-21 07:57:12 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 08:12:53 -0200
commit872dfcfe82438f5211f5fa1dc6406d033a8a2448 (patch)
treed3a736a51219e493ed94c3ecc203b36168d887fc /drivers/media/v4l2-core/v4l2-dev.c
parent6dfa5131804e8cc0866e2f21ed79ce4b08976cff (diff)
[media] bttv/cx25821/cx88/ivtv: use sg_next instead of sg++
Never use sg++, always use sg = sg_next(sg). Scatterlist entries can be combined if the memory is contiguous but sg++ won't know about that. As far as I can tell cx88 and ivtv are really broken because of this, and bttv and cx25821 are OK because vb1 doesn't combine scatterlist entries. But regardless, sg++ should never be used, only sg_next is safe. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-dev.c')
0 files changed, 0 insertions, 0 deletions