diff options
| author | イムティヤズ <reza1234khan1234@gmail.com> | 2026-08-05 15:34:07 +0600 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-10-02 08:34:58 +0200 |
| commit | de8cd9a64d86df6f3b4db6ef165bb9027f1db410 (patch) | |
| tree | 8c3fc4bdf686fba27bd6428b771248a22fc94d38 /rust/kernel/alloc/allocator | |
| parent | 40446ee73a65cca1caca012f23518a8078f6ec23 (diff) | |
media: uvcvideo: Make uvc_event_control attribute name array const
The attrs array in uvc_event_control() is only ever read, never
modified. Declare it as static const char *const so the pointer array
itself is also immutable.
Signed-off-by: イムティヤズ <reza1234khan1234@gmail.com>
Assisted-by: LLM
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://patch.msgid.link/20260805093407.110571-1-reza1234khan1234@gmail.com
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
