linux/include/xen/interface/io
Len Bao c1fd2c9f7f 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>
2026-06-08 09:00:06 +02:00
..
9pfs.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
blkif.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
console.h hvc/xen: Check console connection flag 2026-04-10 11:06:17 +02:00
displif.h xen: update PV-device interface headers 2024-01-09 11:46:24 +01:00
fbif.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
kbdif.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
netif.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
pciif.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
protocols.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
pvcalls.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
ring.h xen: update PV-device interface headers 2024-01-09 11:46:24 +01:00
sndif.h xen: update PV-device interface headers 2024-01-09 11:46:24 +01:00
tpmif.h
usbif.h usb: Add Xen pvUSB protocol description 2021-12-13 14:58:31 +01:00
vscsiif.h xen: update vscsiif.h 2022-05-19 14:02:40 +02:00
xenbus.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
xs_wire.h xen: constify xsd_errors array 2026-06-08 09:00:06 +02:00