Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Hans Verkuil
On 11/24/2014 07:51 PM, Mauro Carvalho Chehab wrote: > Em Mon, 24 Nov 2014 19:37:48 +0100 > Hans Verkuil escreveu: > >> On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: >>> Em Fri, 21 Nov 2014 10:20:56 +0100 >>> Hans Verkuil escreveu: >>> Several drivers (mostly copy-and-paste) still us

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Nov 2014 19:37:48 +0100 Hans Verkuil escreveu: > On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: > > Em Fri, 21 Nov 2014 10:20:56 +0100 > > Hans Verkuil escreveu: > > > >> Several drivers (mostly copy-and-paste) still used sg++ instead of > >> sg = sg_next(sg). Fix them since sg

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Hans Verkuil
On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: > Em Fri, 21 Nov 2014 10:20:56 +0100 > Hans Verkuil escreveu: > >> Several drivers (mostly copy-and-paste) still used sg++ instead of >> sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter >> entries where combined into one l

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Mauro Carvalho Chehab
Em Fri, 21 Nov 2014 10:20:56 +0100 Hans Verkuil escreveu: > Several drivers (mostly copy-and-paste) still used sg++ instead of > sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter > entries where combined into one larger entry. > > Signed-off-by: Hans Verkuil > Cc: sta...@vg

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
On 11/21/2014 11:05 AM, Hans Verkuil wrote: > Mariusz, > > Thanks for reporting and testing this so quickly! > > On 11/21/2014 10:20 AM, Hans Verkuil wrote: >> Several drivers (mostly copy-and-paste) still used sg++ instead of >> sg = sg_next(sg). Fix them since sg++ won't work if contiguous scat

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
Mariusz, Thanks for reporting and testing this so quickly! On 11/21/2014 10:20 AM, Hans Verkuil wrote: > Several drivers (mostly copy-and-paste) still used sg++ instead of > sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter > entries where combined into one larger entry. > >

[PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-21 Thread Hans Verkuil
Several drivers (mostly copy-and-paste) still used sg++ instead of sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter entries where combined into one larger entry. Signed-off-by: Hans Verkuil Cc: sta...@vger.kernel.org # for v3.7 and up --- drivers/media/pci/bt8xx/bttv-r