From: Mauro Carvalho Chehab Date: Mon, 8 Apr 2013 00:06:12 +0000 (-0300) Subject: [media] mb86a20s: Fix estimate_rate setting X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1f89331190820c42397156063fe5e39bc514e3b;p=pandora-kernel.git [media] mb86a20s: Fix estimate_rate setting As reported by Dan Carpenter : Smatch warnings: drivers/media/dvb-frontends/mb86a20s.c:644 mb86a20s_layer_bitrate() error: buffer overflow 'state->estimated_rate' 3 <= 3 What happens there is that estimate_rate index should be the layer number, and not the guard interval. Reported-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed