diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-01 10:51:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 15:54:49 -0300 |
commit | f8817c9ea1f44aca9f342c6a314da4eb64ba0cb4 (patch) | |
tree | 5251db26bd02facb5a62bfb3ead92ed9bd5cf0d6 /drivers/pci | |
parent | 46b35083ce24c1a2a721df605815978f75ca3b66 (diff) | |
download | linux-f8817c9ea1f44aca9f342c6a314da4eb64ba0cb4.tar.gz linux-f8817c9ea1f44aca9f342c6a314da4eb64ba0cb4.tar.bz2 linux-f8817c9ea1f44aca9f342c6a314da4eb64ba0cb4.zip |
[media] av7110_hw: fix a sanity check in av7110_fw_cmd()
ARRAY_SIZE(buf) (8 elements) was intended instead of sizeof(buf) (16
bytes). But this is just a sanity check and the callers always pass
valid values so this doesn't cause a problem.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions