diff options
| author | Len Bao <len.bao@gmx.us> | 2026-05-23 14:08:07 +0000 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-06-08 09:00:06 +0200 |
| commit | c1fd2c9f7f855caace046c789cdbf24628565d50 (patch) | |
| tree | cbb1c8f6bfa6316e141278153488e51eb7652c0a /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 74b94fc5bb7a53620ba1dcd3de64c7393a6bb0a4 (diff) | |
xen: constify xsd_errors array
The 'xsd_errors' array is initialized in the declaration and never
changed. So, constify it to reduce the attack surface.
At the same time, use the preferred '__maybe_unused' form over the
'__attribute__((unused))' form.
Signed-off-by: Len Bao <len.bao@gmx.us>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260523140809.30915-1-len.bao@gmx.us>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
