From: Zhaowei Yuan Date: Fri, 22 Aug 2014 02:28:21 +0000 (-0300) Subject: vb2: fix plane index sanity check in vb2_plane_cookie() X-Git-Tag: v3.2.93~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d52288ac550ea8635fab559defe48da4359ca9a3;p=pandora-kernel.git vb2: fix plane index sanity check in vb2_plane_cookie() commit a9ae4692eda4b99f85757b15d60971ff78a0a0e2 upstream. It's also invalid when plane_no is equal to vb->num_planes Signed-off-by: Zhaowei Yuan Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed