From dd3048b2e483f66571cfa1b2ccebb2091b9ad990 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Jan 2022 18:54:19 +0100 Subject: Make RPC input array parameters const This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side") --- pci-arbiter/pci-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pci-arbiter/pci-ops.c') diff --git a/pci-arbiter/pci-ops.c b/pci-arbiter/pci-ops.c index 72720832..ef27a3cd 100644 --- a/pci-arbiter/pci-ops.c +++ b/pci-arbiter/pci-ops.c @@ -128,7 +128,7 @@ S_pci_conf_read (struct protid * master, int reg, char **data, /* Write `datalen' bytes from `data'. `amount' is updated. */ error_t -S_pci_conf_write (struct protid * master, int reg, char *data, size_t datalen, +S_pci_conf_write (struct protid * master, int reg, const char *data, size_t datalen, mach_msg_type_number_t * amount) { error_t err; -- cgit v1.2.3