hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/acpi/acpica/utownerid.c
....@@ -38,7 +38,7 @@
3838
3939 if (*owner_id) {
4040 ACPI_ERROR((AE_INFO,
41
- "Owner ID [0x%2.2X] already exists", *owner_id));
41
+ "Owner ID [0x%3.3X] already exists", *owner_id));
4242 return_ACPI_STATUS(AE_ALREADY_EXISTS);
4343 }
4444
....@@ -88,14 +88,14 @@
8888 /*
8989 * Construct encoded ID from the index and bit position
9090 *
91
- * Note: Last [j].k (bit 255) is never used and is marked
91
+ * Note: Last [j].k (bit 4095) is never used and is marked
9292 * permanently allocated (prevents +1 overflow)
9393 */
9494 *owner_id =
9595 (acpi_owner_id)((k + 1) + ACPI_MUL_32(j));
9696
9797 ACPI_DEBUG_PRINT((ACPI_DB_VALUES,
98
- "Allocated OwnerId: %2.2X\n",
98
+ "Allocated OwnerId: 0x%3.3X\n",
9999 (unsigned int)*owner_id));
100100 goto exit;
101101 }
....@@ -116,7 +116,7 @@
116116 */
117117 status = AE_OWNER_ID_LIMIT;
118118 ACPI_ERROR((AE_INFO,
119
- "Could not allocate new OwnerId (255 max), AE_OWNER_ID_LIMIT"));
119
+ "Could not allocate new OwnerId (4095 max), AE_OWNER_ID_LIMIT"));
120120
121121 exit:
122122 (void)acpi_ut_release_mutex(ACPI_MTX_CACHES);
....@@ -153,7 +153,7 @@
153153 /* Zero is not a valid owner_ID */
154154
155155 if (owner_id == 0) {
156
- ACPI_ERROR((AE_INFO, "Invalid OwnerId: 0x%2.2X", owner_id));
156
+ ACPI_ERROR((AE_INFO, "Invalid OwnerId: 0x%3.3X", owner_id));
157157 return_VOID;
158158 }
159159
....@@ -179,7 +179,7 @@
179179 acpi_gbl_owner_id_mask[index] ^= bit;
180180 } else {
181181 ACPI_ERROR((AE_INFO,
182
- "Release of non-allocated OwnerId: 0x%2.2X",
182
+ "Attempted release of non-allocated OwnerId: 0x%3.3X",
183183 owner_id + 1));
184184 }
185185