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> |
||
|---|---|---|
| .. | ||
| bt848.h | ||
| bt878.c | ||
| bt878.h | ||
| bttv-audio-hook.c | ||
| bttv-audio-hook.h | ||
| bttv-cards.c | ||
| bttv-driver.c | ||
| bttv-gpio.c | ||
| bttv-i2c.c | ||
| bttv-if.c | ||
| bttv-input.c | ||
| bttv-risc.c | ||
| bttv-vbi.c | ||
| bttv.h | ||
| bttvp.h | ||
| dst.c | ||
| dst_ca.c | ||
| dst_ca.h | ||
| dst_common.h | ||
| dst_priv.h | ||
| dvb-bt8xx.c | ||
| dvb-bt8xx.h | ||
| Kconfig | ||
| Makefile | ||