From: Hans Verkuil Date: Sat, 23 Sep 2023 15:20:55 +0000 (+0200) Subject: media: v4l2-dev.h: increase struct video_device name size X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9cc0f40cac6ae5bc8529caa5e9d477678336450c;p=linux.git 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 --- diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index e0a13505f88da..d82dfdbf6e583 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;