summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/machine/acpi.c2
-rw-r--r--doc/style.9.txt2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/machine/acpi.c b/arch/x86/machine/acpi.c
index 4ef52e3d..f088f2c8 100644
--- a/arch/x86/machine/acpi.c
+++ b/arch/x86/machine/acpi.c
@@ -186,7 +186,7 @@ static struct acpi_gas acpi_reset_reg;
static uint8_t acpi_reset_value;
static void __init
-acpi_table_sig(const struct acpi_sdth *table, char sig[ACPI_SIG_SIZE])
+acpi_table_sig(const struct acpi_sdth *table, char *sig)
{
memcpy(sig, table->signature, sizeof(table->signature));
sig[4] = '\0';
diff --git a/doc/style.9.txt b/doc/style.9.txt
index c4a57780..be59024f 100644
--- a/doc/style.9.txt
+++ b/doc/style.9.txt
@@ -557,8 +557,6 @@ operator may be used safely to get the size of the array, when it
actually always returns the size of a pointer. Therefore, declaring
arguments as arrays is strictly forbidden.
-TODO Fix historic array argument declarations.
-
GIT COMMITS
-----------