summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-29 09:33:02 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-30 14:57:35 -0300
commit4682b58e5af01ee856a706083eac71238fb69cd0 (patch)
tree760d763f5226452fdc0448387019bd521f6e8cc5 /arch/parisc
parent322583c410b6206700f5daa98f965b31c99bb8c2 (diff)
downloadblackbird-op-linux-4682b58e5af01ee856a706083eac71238fb69cd0.tar.gz
blackbird-op-linux-4682b58e5af01ee856a706083eac71238fb69cd0.zip
[media] qt1010: avoid going past array
As reported by smatch: drivers/media/tuners/qt1010.c:357 qt1010_init() error: buffer overflow 'i2c_data' 34 <= 34 This should not happen with the current code, as the i2c_data array doesn't end with a QT1010_M1, but it doesn't hurt add a BUG_ON to notify if one modifies it and breaks. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud