On 2026-02-20 22:46, Andrew Cooper wrote:
Elcair rejects __FUNCTION__ as nonstandard syntax and a R1.1 violation.
s/Elcair/ECLAIR/
No functional change.
Signed-off-by: Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Michal Orzel <[email protected]>
CC: [email protected] <[email protected]>
CC: Nicola Vetrini <[email protected]>
---
Reviewed-by: Nicola Vetrini <[email protected]>
xen/arch/arm/acpi/boot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/arm/acpi/boot.c b/xen/arch/arm/acpi/boot.c
index db5085e15d84..4ac0fd8f51e8 100644
--- a/xen/arch/arm/acpi/boot.c
+++ b/xen/arch/arm/acpi/boot.c
@@ -264,14 +264,14 @@ int __init acpi_boot_table_init(void)
if ( error )
{
printk("%s: Unable to initialize table parser (%d)\n",
- __FUNCTION__, error);
+ __func__, error);
goto disable;
}
error = acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt);
if ( error )
{
- printk("%s: FADT not found (%d)\n", __FUNCTION__, error);
+ printk("%s: FADT not found (%d)\n", __func__, error);
goto disable;
}
--
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253