Blame SOURCES/armv7-str-fixes.patch
|
|
9897bb |
Index: acpica-unix2-20200925/source/include/actypes.h
|
|
|
9897bb |
===================================================================
|
|
|
9897bb |
--- acpica-unix2-20200925.orig/source/include/actypes.h
|
|
|
9897bb |
+++ acpica-unix2-20200925/source/include/actypes.h
|
|
|
9897bb |
@@ -561,7 +561,7 @@ typedef UINT64
|
|
|
9897bb |
#define ACPI_COPY_NAMESEG(dest,src) (*ACPI_CAST_PTR (UINT32, (dest)) = *ACPI_CAST_PTR (UINT32, (src)))
|
|
|
9897bb |
#else
|
|
|
9897bb |
#define ACPI_COMPARE_NAMESEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, (b)), ACPI_NAMESEG_SIZE))
|
|
|
9897bb |
-#define ACPI_COPY_NAMESEG(dest,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
|
|
|
9897bb |
+#define ACPI_COPY_NAMESEG(dest,src) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
|
|
|
9897bb |
#endif
|
|
|
9897bb |
|
|
|
9897bb |
/* Support for the special RSDP signature (8 characters) */
|