[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/acpi: address violations of MISRA C:2012 Rule 8.2
commit b0356bc0e092b584bc693f8d9ef32c911a0a725f Author: Federico Serafini <federico.serafini@xxxxxxxxxxx> AuthorDate: Wed Nov 29 10:04:12 2023 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed Nov 29 10:04:12 2023 +0100 xen/acpi: address violations of MISRA C:2012 Rule 8.2 Add missing parameter names. No functional change. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/include/acpi/platform/aclinux.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/include/acpi/platform/aclinux.h b/xen/include/acpi/platform/aclinux.h index 9e572460dc..f5e0a6108e 100644 --- a/xen/include/acpi/platform/aclinux.h +++ b/xen/include/acpi/platform/aclinux.h @@ -75,9 +75,9 @@ #define acpi_thread_id struct vcpu * -void *acpi_os_alloc_memory(size_t); -void *acpi_os_zalloc_memory(size_t); -void acpi_os_free_memory(void *); +void *acpi_os_alloc_memory(size_t sz); +void *acpi_os_zalloc_memory(size_t sz); +void acpi_os_free_memory(void *ptr); #define ACPI_ALLOCATE(a) acpi_os_alloc_memory(a) #define ACPI_ALLOCATE_ZEROED(a) acpi_os_zalloc_memory(a) -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |