hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/acpi/acpica/dbhistry.c
....@@ -3,7 +3,7 @@
33 *
44 * Module Name: dbhistry - debugger HISTORY command
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -27,7 +27,6 @@
2727 static u16 acpi_gbl_lo_history = 0;
2828 static u16 acpi_gbl_num_history = 0;
2929 static u16 acpi_gbl_next_history_index = 0;
30
-u32 acpi_gbl_next_cmd_num = 1;
3130
3231 /*******************************************************************************
3332 *
....@@ -121,7 +120,7 @@
121120
122121 for (i = 0; i < acpi_gbl_num_history; i++) {
123122 if (acpi_gbl_history_buffer[history_index].command) {
124
- acpi_os_printf("%3ld %s\n",
123
+ acpi_os_printf("%3u %s\n",
125124 acpi_gbl_history_buffer[history_index].
126125 cmd_num,
127126 acpi_gbl_history_buffer[history_index].