.. | .. |
---|
38 | 38 | |
---|
39 | 39 | if (*owner_id) { |
---|
40 | 40 | ACPI_ERROR((AE_INFO, |
---|
41 | | - "Owner ID [0x%2.2X] already exists", *owner_id)); |
---|
| 41 | + "Owner ID [0x%3.3X] already exists", *owner_id)); |
---|
42 | 42 | return_ACPI_STATUS(AE_ALREADY_EXISTS); |
---|
43 | 43 | } |
---|
44 | 44 | |
---|
.. | .. |
---|
88 | 88 | /* |
---|
89 | 89 | * Construct encoded ID from the index and bit position |
---|
90 | 90 | * |
---|
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 |
---|
92 | 92 | * permanently allocated (prevents +1 overflow) |
---|
93 | 93 | */ |
---|
94 | 94 | *owner_id = |
---|
95 | 95 | (acpi_owner_id)((k + 1) + ACPI_MUL_32(j)); |
---|
96 | 96 | |
---|
97 | 97 | ACPI_DEBUG_PRINT((ACPI_DB_VALUES, |
---|
98 | | - "Allocated OwnerId: %2.2X\n", |
---|
| 98 | + "Allocated OwnerId: 0x%3.3X\n", |
---|
99 | 99 | (unsigned int)*owner_id)); |
---|
100 | 100 | goto exit; |
---|
101 | 101 | } |
---|
.. | .. |
---|
116 | 116 | */ |
---|
117 | 117 | status = AE_OWNER_ID_LIMIT; |
---|
118 | 118 | 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")); |
---|
120 | 120 | |
---|
121 | 121 | exit: |
---|
122 | 122 | (void)acpi_ut_release_mutex(ACPI_MTX_CACHES); |
---|
.. | .. |
---|
153 | 153 | /* Zero is not a valid owner_ID */ |
---|
154 | 154 | |
---|
155 | 155 | 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)); |
---|
157 | 157 | return_VOID; |
---|
158 | 158 | } |
---|
159 | 159 | |
---|
.. | .. |
---|
179 | 179 | acpi_gbl_owner_id_mask[index] ^= bit; |
---|
180 | 180 | } else { |
---|
181 | 181 | ACPI_ERROR((AE_INFO, |
---|
182 | | - "Release of non-allocated OwnerId: 0x%2.2X", |
---|
| 182 | + "Attempted release of non-allocated OwnerId: 0x%3.3X", |
---|
183 | 183 | owner_id + 1)); |
---|
184 | 184 | } |
---|
185 | 185 | |
---|