From: Newson Edouard Date: Tue, 19 Apr 2011 14:54:54 +0000 (-0300) Subject: [media] videobuf_pages_to_sg: sglist[0] length problem X-Git-Tag: v3.1-rc1~116^2~413 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45f239ab82b2a808103a0fae02594961b09c5c8b;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed