commit | 45f239ab82b2a808103a0fae02594961b09c5c8b | [log] [tgz] |
---|---|---|
author | Newson Edouard <newsondev@gmail.com> | Tue Apr 19 11:54:54 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jul 27 17:52:19 2011 -0300 |
tree | a42b4115f12ced98c6c4a6a5a7b990e3c1d8ff37 | |
parent | 4bbcd849b07259211dfe6d3168e669e89bbd19ea [diff] |
[media] videobuf_pages_to_sg: sglist[0] length problem On function videobuf_pages_to_sg the statement sg_set_page(&sglist[0], pages[0], PAGE_SIZE - offset, offset) will fail if size is less than PAGE_SIZE. Signed-off-by: Newson Edouard <newsondev@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>