[media] hackrf: harmless off by one in debug code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 24 Sep 2014 10:36:39 +0000 (07:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 21 Oct 2014 10:56:52 +0000 (08:56 -0200)
commit9f93c52783faa24c5c6fca216acf0765ad5d8dd6
treed7b712a08a22e2d5cb42f736e079cf041263414e
parent143800a5778e577ada53441a42ed1437b3b2b11b
[media] hackrf: harmless off by one in debug code

My static checker complains that "i" could be one element beyond the end
of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/hackrf/hackrf.c