From: Julia Lawall Date: Thu, 28 Jul 2011 12:46:02 +0000 (-0300) Subject: [media] drivers/media/dvb/dvb-usb/usb-urb.c: adjust array index X-Git-Tag: v3.2-rc1~112^2~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb28dc39d3e82674584cc768b9757d1cae222a52;p=pandora-kernel.git [media] drivers/media/dvb/dvb-usb/usb-urb.c: adjust array index Convert array index from the loop bound to the loop index. A simplified version of the semantic patch that fixes this problem is as // @@ expression e1,e2,ar; @@ for(e1 = 0; e1 < e2; e1++) { <... ar[ - e2 + e1 ] ...> } // Signed-off-by: Julia Lawall Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed