diff options
| author | Dan Carpenter <[email protected]> | 2010-11-02 00:22:23 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2010-12-29 08:16:39 -0200 |
| commit | 0e72cc8b8d48ba05e705f432fb99aaa0ea6737c6 (patch) | |
| tree | 466279b5e4095bc95e3df1558ab3484601ee6504 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 76e4a9a7164263d8ffe816920f84a91e7dfee444 (diff) | |
[media] saa7164: make buffer smaller
This isn't a runtime bug, it's just to make static checkers happy.
In vidioc_querycap() we copy a saa7164_dev ->name driver array into a
v4l2_capability -> driver array. The ->driver array is only 16 chars
long so ->name also can't be more than 16 characters.
The ->name gets set in v4l2_capability() and it always is less than 16
characters so we can easily make the buffer smaller.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions