diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-23 17:20:55 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:47:22 +0200 |
commit | 9cc0f40cac6ae5bc8529caa5e9d477678336450c (patch) | |
tree | a0b1bb526bfa7ee66b7eea4b59a9a4fb9edea4b3 /include/media/v4l2-dev.h | |
parent | 3e80a88911a350438b60581daf11a115e020631d (diff) | |
download | lwn-9cc0f40cac6ae5bc8529caa5e9d477678336450c.tar.gz lwn-9cc0f40cac6ae5bc8529caa5e9d477678336450c.zip |
media: v4l2-dev.h: increase struct video_device name size
Increase the size of the name field to prevent a lot of
string truncate compiler warnings.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r-- | include/media/v4l2-dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index e0a13505f88d..d82dfdbf6e58 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h @@ -284,7 +284,7 @@ struct video_device { struct v4l2_prio_state *prio; /* device info */ - char name[32]; + char name[64]; enum vfl_devnode_type vfl_type; enum vfl_devnode_direction vfl_dir; int minor; |