diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-12-13 08:52:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 10:42:51 -0200 |
commit | 50fd5e8c1e02ac471a0a4f3aaa87684a5152a0b4 (patch) | |
tree | e6fc93587a6e5ebdaadc3b8c9915f6512ddbdb96 /drivers/media/i2c | |
parent | 7c424dd14fcf4c2905778ecd3f1ad10c5a097b5b (diff) | |
download | blackbird-op-linux-50fd5e8c1e02ac471a0a4f3aaa87684a5152a0b4.tar.gz blackbird-op-linux-50fd5e8c1e02ac471a0a4f3aaa87684a5152a0b4.zip |
[media] hd29l2: fix sparse error and warnings
drivers/media/dvb-frontends/hd29l2.c:29:18: warning: Variable length array is used.
drivers/media/dvb-frontends/hd29l2.c:34:32: error: cannot size expression
drivers/media/dvb-frontends/hd29l2.c:125:5: warning: symbol 'hd29l2_rd_reg_mask' was not declared. Should it be static?
Variable length arrays are frowned upon, so replace with a fixed length and check
that there won't be a buffer overrun.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions