diff options
author | Dan Carpenter <error27@gmail.com> | 2010-11-02 00:22:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 08:16:39 -0200 |
commit | 0e72cc8b8d48ba05e705f432fb99aaa0ea6737c6 (patch) | |
tree | 466279b5e4095bc95e3df1558ab3484601ee6504 /drivers/media/video/saa7164/saa7164-cmd.c | |
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 <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-cmd.c')
0 files changed, 0 insertions, 0 deletions