Skip to content

Commit 16ae958

Browse files
X0RW3LLrafaeljw
authored andcommitted
ACPICA: acpidump: drop ACPI_NONSTRING attribute from file_name
Partially revert commit 70662db ("ACPICA: Apply ACPI_NONSTRING in more places") as I've yet again incorrectly applied the ACPI_NONSTRING attribute where it is not needed. A warning was initially reported by Collin Funk [1], and further review by Jiri Slaby [2] highlighted another issue related to the same commit. Drop the ACPI_NONSTRING attribute to fix the issue. Fixes: 70662db ("ACPICA: Apply ACPI_NONSTRING in more places") Link: https://lore.kernel.org/all/87ecvpcypw.fsf@gmail.com [1] Link: https://lore.kernel.org/all/5c210121-c9b8-4458-b1ad-0da24732ac72@kernel.org [2] Link: acpica/acpica@a6ee09ca Reported-by: Collin Funk <collin.funk1@gmail.com> Signed-off-by: Ahmed Salem <x0rw3ll@gmail.com> Cc: 6.16+ <stable@vger.kernel.org> # 6.16+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 4b020ef commit 16ae958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/power/acpi/tools/acpidump/apfiles.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ int ap_open_output_file(char *pathname)
103103

104104
int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance)
105105
{
106-
char filename[ACPI_NAMESEG_SIZE + 16] ACPI_NONSTRING;
106+
char filename[ACPI_NAMESEG_SIZE + 16];
107107
char instance_str[16];
108108
ACPI_FILE file;
109109
acpi_size actual;

0 commit comments

Comments
 (0)