aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/utalloc.c')
-rw-r--r--drivers/acpi/acpica/utalloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/utalloc.c b/drivers/acpi/acpica/utalloc.c
index 61d8f6d186d1..7a4101f0685e 100644
--- a/drivers/acpi/acpica/utalloc.c
+++ b/drivers/acpi/acpica/utalloc.c
@@ -73,7 +73,7 @@ void *acpi_os_allocate_zeroed(acpi_size size)
73 73
74 /* Clear the memory block */ 74 /* Clear the memory block */
75 75
76 ACPI_MEMSET(allocation, 0, size); 76 memset(allocation, 0, size);
77 } 77 }
78 78
79 return (allocation); 79 return (allocation);
@@ -181,7 +181,7 @@ acpi_status acpi_ut_delete_caches(void)
181 char buffer[7]; 181 char buffer[7];
182 182
183 if (acpi_gbl_display_final_mem_stats) { 183 if (acpi_gbl_display_final_mem_stats) {
184 ACPI_STRCPY(buffer, "MEMORY"); 184 strcpy(buffer, "MEMORY");
185 (void)acpi_db_display_statistics(buffer); 185 (void)acpi_db_display_statistics(buffer);
186 } 186 }
187#endif 187#endif
@@ -337,6 +337,6 @@ acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
337 337
338 /* Have a valid buffer, clear it */ 338 /* Have a valid buffer, clear it */
339 339
340 ACPI_MEMSET(buffer->pointer, 0, required_length); 340 memset(buffer->pointer, 0, required_length);
341 return (AE_OK); 341 return (AE_OK);
342} 342}